DAGetPageWidth
Direct access functionality, Page properties
Description
Returns the width of the specified page in a document opened with the DAOpenFile function.
The result is given in points by default, or in the units selected by the SetGlobalMeasurementUnits function.
Syntax
Delphi
function TDebenuPDFLibrary1811.DAGetPageWidth(FileHandle, PageRef: Integer): Double;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DAGetPageWidth(FileHandle As Long,
PageRef As Long) As Double
DLL
double DPLDAGetPageWidth(int InstanceID, int FileHandle, int PageRef)
Parameters
FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
PageRef | A page reference returned by the DAFindPage or DANewPage functions |