'Declaration
Public Function GetFormFieldLocation( _ ByVal FieldId As Integer, _ ByRef Left As Single, _ ByRef Top As Single, _ ByRef Right As Single, _ ByRef Bottom As Single _ ) As GdPictureStatus
public GdPictureStatus GetFormFieldLocation( int FieldId, ref float Left, ref float Top, ref float Right, ref float Bottom )
public function GetFormFieldLocation( FieldId: Integer; var Left: Single; var Top: Single; var Right: Single; var Bottom: Single ): GdPictureStatus;
public function GetFormFieldLocation( 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
- Output parameter. The horizontal (X) coordinate of the closest point to the currently defined origin, where the form field's bounding box is located, expressed in the current units specified by the SetMeasurementUnit method.
- Top
- Output parameter. The vertical (Y) coordinate of the closest point to the currently defined origin, where the form field's bounding box is located, expressed in the current units specified by the SetMeasurementUnit method.
- Right
- Output parameter. The horizontal (X) coordinate of the furthest point to the currently defined origin, where the form field's bounding box is located, expressed in the current units specified by the SetMeasurementUnit method.
- Bottom
- Output parameter. The vertical (Y) coordinate of the furthest point to the currently defined origin, where the form field's bounding box is 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.