'Declaration
Public Function SetFormFieldLocation( _ ByVal FieldId As Integer, _ ByVal Left As Single, _ ByVal Top As Single, _ ByVal Right As Single, _ ByVal Bottom As Single _ ) As GdPictureStatus
public GdPictureStatus SetFormFieldLocation( int FieldId, float Left, float Top, float Right, float Bottom )
public function SetFormFieldLocation( FieldId: Integer; Left: Single; Top: Single; Right: Single; Bottom: Single ): GdPictureStatus;
public function SetFormFieldLocation( FieldId : int, Left : float, Top : float, Right : float, Bottom : float ) : GdPictureStatus;
Parameters
- FieldId
- A unique form field identifier specifying a required form field object. You can obtain this identifier using methods like GetFormFieldId, GetFormFieldChildID or methods intended to add form fields.
- Left
- The horizontal (X) coordinate of the closest point to the currently defined origin, where the form field's bounding box is to be located, expressed in the current units specified by the SetMeasurementUnit method.
- Top
- The vertical (Y) coordinate of the closest point to the currently defined origin, where the form field's bounding box is to be located, expressed in the current units specified by the SetMeasurementUnit method.
- Right
- The horizontal (X) coordinate of the furthest point to the currently defined origin, where the form field's bounding box is to be located, expressed in the current units specified by the SetMeasurementUnit method.
- Bottom
- The vertical (Y) coordinate of the furthest point to the currently defined origin, where the form field's bounding box is to be located, expressed in the current units specified by the SetMeasurementUnit method.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.