GetViewPortBBox

Page properties, Measurement and coordinate units

Description

Returns details of the BBox entry of a viewport dictionary.

Syntax

Delphi

function TPDFlib.GetViewPortBBox(ViewPortID, Dimension: Integer): Double;

ActiveX

Function PDFlib::GetViewPortBBox(ViewPortID As Long, Dimension As Long) As Double

DLL

double DLGetViewPortBBox(int InstanceID, int ViewPortID, int Dimension);

Parameters

ViewPortIDA value returned by the GetPageViewPortID function
Dimension0 = Left 1 = Top 2 = Width 3 = Height 4 = Right 5 = Bottom