FormEditor.MoveField

FormEditor.MoveField method

Set new position of field.

public bool MoveField(string fieldName, float llx, float lly, float urx, float ury)
ParameterTypeDescription
fieldNameStringName of field which must be moved.
llxSingleAbscissa of the lower-left corner of the field.
llySingleOrdinate of the lower-left coerner of the field.
urxSingleAbscissa of the upper-right corner of the field.
urySingleOrdinate of the upper-right corner of the field.

Return Value

true if field position was changed successfully.

Examples

FormEditor formEditor = new FormEditor("PdfForm.pdf", "FormEditor_MoveField.pdf");
formEditor.MoveField("textField", 20.5f, 20.3f, 120.6f, 40.8f);

See Also