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 的图像类型值

0Unknown
1JPEG
2BMP
3适用时保留 CCITT 数据的 TIFF
4PNG
5JPX 或 JPEG 2000
6独立 JBIG2

备注

当掩码或颜色转换不需要渲染回退时,本机提取可避免对 JPEG、JPX、CCITT 和 JBIG2 图像流进行位图展开