DAGetPageHeight

Direct access functionality, Page properties

Description

Returns the height of the specified page in a document opened with the DAOpenFile function.

Syntax

Delphi

function TPDFlib.DAGetPageHeight(FileHandle, PageRef: Integer): Double;

ActiveX

Function PDFlib::DAGetPageHeight(FileHandle As Long, PageRef As Long) As Double

DLL

double DLDAGetPageHeight(int InstanceID, int FileHandle, int PageRef);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRefA page reference returned by the DAFindPage or DANewPage functions