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

Return values

Returns the height of the page in points. Returns 0 when the file handle or page reference is invalid.