Quick PDF logo

GetFormFieldBound

Form fields

Description

Returns the bounding box of the specified form field.

Syntax

Delphi

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

ActiveX

Function QuickPDF0813.PDFLibrary::GetFormFieldBound(Index As Long,
  Edge As Long) As Double

DLL

double QuickPDFGetFormFieldBound(int InstanceID, int Index, int Edge)

Parameters

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

Return values

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

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum