FormEditorMoveField Method
Set new position of field.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public bool MoveField(
	string fieldName,
	float llx,
	float lly,
	float urx,
	float ury
)

Parameters

fieldName
Type: SystemString
Name of field which must be moved.
llx
Type: SystemSingle
Abscissa of the lower-left corner of the field.
lly
Type: SystemSingle
Ordinate of the lower-left coerner of the field.
urx
Type: SystemSingle
Abscissa of the upper-right corner of the field.
ury
Type: SystemSingle
Ordinate of the upper-right corner of the field.

Return Value

Type: Boolean
true if field position was changed successfully.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", "FormEditor_MoveField.pdf");
formEditor.MoveField("textField", 20.5f, 20.3f, 120.6f, 40.8f);
See Also