GetImageListItemIntProperty

影像處理

描述

傳回以 1 起算影像清單項目的整數屬性

語法

Delphi

Function TPDFlib.GetImageListItemIntProperty(ImageListID, ImageIndex, PropertyID: Integer): Integer;

ActiveX

Function PDFlib::GetImageListItemIntProperty(ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long

DLL

int DLGetImageListItemIntProperty(int InstanceID, int ImageListID, int ImageIndex, int PropertyID);

參數

ImageListIDGetPageImageList 傳回的控制代碼
ImageIndex以 1 起算的項目索引
PropertyID400 影像類型,401 像素寬,402 像素高,403 每像素位元數,404 色彩空間類型,405 影像控制代碼,406 穩定影像識別碼,407 影像物件編號

傳回值

傳回影像清單項目的要求整數屬性。ImageListID 無效或 PropertyID 不在支援的 400..407 範圍內時傳回 0。

屬性 400 的影像類型值

0未知
1JPEG
2BMP
3TIFF,適用時保留原始 CCITT 資料
4PNG
5JPX 或 JPEG 2000
6獨立 JBIG2

備註

當遮罩或色彩轉換不需要描繪後備時,原生擷取可避免 JPEG、JPX、CCITT 與 JBIG2 影像串流的點陣展開