SetFormFieldBounds

Form fields

Description

Changes the physical size and position of the specified form field.

Syntax

Delphi

function TPDFlib.SetFormFieldBounds(Index: Integer; Left, Top, Width, Height: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBounds(Index As Long, Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DLSetFormFieldBounds(int InstanceID, int Index, double Left, double Top, double Width, double Height);

Parameters

IndexThe index of the form field to adjust The new co-ordinate of the left edge of the form field
LeftThe new co-ordinate of the top of the form field
Top
WidthThe new width of the form field
HeightThe new height of the form field

Return values

0The form field could not be found
1The form field was resized and moved successfully