DAGetImageIntProperty

影像處理、直接存取功能

描述

傳回影像清單中某張影像的特定屬性

語法

Delphi

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

ActiveX

Function PDFlib::DAGetImageIntProperty(FileHandle As Long, ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long

DLL

int DLDAGetImageIntProperty(int InstanceID, int FileHandle, int ImageListID, int ImageIndex, int PropertyID);

參數

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼
ImageListIDDAGetPageImageList 函式傳回的值
ImageIndex影像的索引。清單中第一張影像的索引為 1。可用 DAGetImageListCount 函式判斷清單中的影像數量
PropertyID400 = 影像類型(值請見 ImageType) 401 = 像素寬度 402 = 像素高度 403 = 每像素位元數 404 = 色彩空間類型 405 = 影像 ID(行內影像為 0)