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 LongDLL
int DLGetImageListItemIntProperty(int InstanceID, int ImageListID, int ImageIndex, int PropertyID);Parameters
| ImageListID | A handle returned by GetPageImageList |
|---|---|
| ImageIndex | One-based item index |
| PropertyID | 400 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
| 0 | Unknown |
|---|---|
| 1 | JPEG |
| 2 | BMP |
| 3 | TIFF with preserved CCITT data when applicable |
| 4 | PNG |
| 5 | JPX or JPEG 2000 |
| 6 | Standalone 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