DAGetImageIntProperty
Image handling, Direct access functionality
Description
Returns certain properties of an image in an image list.
Syntax
Delphi
function TQuickPDF0813.DAGetImageIntProperty(FileHandle, ImageListID, ImageIndex,
PropertyID: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::DAGetImageIntProperty(FileHandle As Long,
ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Long
DLL
int QuickPDFDAGetImageIntProperty(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) 401 = Width in pixels 402 = Height in pixels |