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 函数返回的句柄 |
|---|---|
| ImageListID | 由 DAGetPageImageList 函数返回的值 |
| ImageIndex | 图像索引。列表中的第一幅图像索引为 1。使用 DAGetImageListCount 函数确定列表中的图像数量 |
| PropertyID | 400 = 图像类型(值参见 ImageType);401 = 像素宽度;402 = 像素高度;403 = 每像素位数;404 = 色彩空间类型;405 = 图像 ID(若为 Inline 图像则为 0) |