GetImageListItemIntProperty
Version history
This function was introduced in Quick PDF Library version 8.13.
Description
Returns an Integer type property of the specified image list item.
Syntax
Delphi
function TDebenuPDFLibrary1811.GetImageListItemIntProperty(ImageListID, ImageIndex,
PropertyID: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::GetImageListItemIntProperty(
ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long
DLL
int DPLGetImageListItemIntProperty(int InstanceID, int ImageListID, int ImageIndex,
int PropertyID)
Parameters
ImageListID | A value returned by the GetPageImageList function |
ImageIndex | The index of the image in the list. The first image has an index of 1. |
PropertyID |
400 = Image type (see ImageType) for values 401 = Width in pixels 402 = Height in pixels 403 = Bits per pixel 404 = Color space type 405 = Image ID (will be 0 if it is an Inline image) 406 = Constant Image ID 407 = Image object number |
Return values
1 | JPEG (for image type) DeviceGray (for color space type) |
2 | BMP (for image type) DeviceRGB (for color space type) |
3 | TIFF (for image type) DeviceCMYK (for color space type) |
4 | PNG (for image type) The selected image is a PNG image. This is only possible when using the GetPageImageList function where an image has a mask. The library will create an Transparent PNG file if a mask is found. |
-1 | Unknown (for color space type) |