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 LongDLL
int DLSetFormFieldBounds(int InstanceID, int Index, double Left, double Top, double Width, double Height);Parameters
| Index | The index of the form field to adjust The new co-ordinate of the left edge of the form field |
|---|---|
| Left | The new co-ordinate of the top of the form field |
| Top | |
| Width | The new width of the form field |
| Height | The new height of the form field |
Return values
| 0 | The form field could not be found |
|---|---|
| 1 | The form field was resized and moved successfully |