GetFormFieldBound

Form fields

Description

Returns the bounding box of the specified form field.

Syntax

Delphi

function TPDFlib.GetFormFieldBound(Index, Edge: Integer): Double;

ActiveX

Function PDFlib::GetFormFieldBound(Index As Long, Edge As Long) As Double

DLL

double DLGetFormFieldBound(int InstanceID, int Index, int Edge);

Parameters

IndexThe index of the form field to measure. The first form field has an index of 1.
EdgeThe required edge: 0 = Left 1 = Top 2 = Width 3 = Height

Return values

0Could not find the specified form field
Non-zeroThe requested measurement