DAGetImageIntProperty
Image handling, Direct access functionality
Description
Returns certain properties of an image in an image list.
Syntax
Delphi
function TDebenuPDFLibrary1811.DAGetImageIntProperty(FileHandle, ImageListID,
ImageIndex, PropertyID: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DAGetImageIntProperty(FileHandle As Long,
ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long
DLL
int DPLDAGetImageIntProperty(int InstanceID, int FileHandle, int ImageListID,
int ImageIndex, int PropertyID)
Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
| ImageListID | A value returned by the DAGetPageImageList function |
| ImageIndex | The index of the image. The first image in the list has an index of 1. Use the DAGetImageListCount function to determine the number of images in the list. |
| 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) |
