DAGetPageWidth

Direct access functionality, Page properties

Description

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

Syntax

Delphi

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

ActiveX

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

DLL

double DLDAGetPageWidth(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