GetImageListItemIntProperty

Image handling

Description

Returns an integer property of a one-based image-list item

Syntax

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);

Parameters

ImageListIDA handle returned by GetPageImageList
ImageIndexOne-based item index
PropertyID400 image type, 401 pixel width, 402 pixel height, 403 bits per pixel, 404 colour-space type, 405 image handle, 406 stable image identifier, or 407 image object number

Image type values for property 400

0Unknown
1JPEG
2BMP
3TIFF with preserved CCITT data when applicable
4PNG
5JPX or JPEG 2000
6Standalone JBIG2

Remarks

Native extraction avoids bitmap expansion for JPEG, JPX, CCITT, and JBIG2 image streams when masks or colour conversion do not require a rendered fallback