DAGetImageDblProperty
Image handling, Direct access functionality
Description
Returns certain properties of an image in an image list.
By default coordinates are measured in points from the bottom left corner of the page, this can be changed by calling SetGlobalOrigin and SetGlobalMeasurementUnits.
Syntax
Delphi
function TDebenuPDFLibrary1811.DAGetImageDblProperty(FileHandle, ImageListID,
ImageIndex, PropertyID: Integer): Double;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DAGetImageDblProperty(FileHandle As Long,
ImageListID As Long, ImageIndex As Long, PropertyID As Long) As Double
DLL
double DPLDAGetImageDblProperty(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 |
501 = Horizontal co-ordinate of top-left corner 502 = Vertical co-ordinate of top-left corner 503 = Horizontal co-ordinate of top-right corner 504 = Vertical co-ordinate of top-right corner 505 = Horizontal co-ordinate of bottom-right corner 506 = Vertical co-ordinate of bottom-right corner 507 = Horizontal co-ordinate of bottom-left corner 508 = Vertical co-ordinate of bottom-left corner |
