FormEditor.SetFieldAlignmentV method

Set the vertical alignment style of a text field.

public bool SetFieldAlignmentV(string fieldName, int alignment)
Parameter Type Description
fieldName String The qualified field name.
alignment Int32 The alignment style definition, including FormFieldFacade.AlignTop, FormFieldFacade.AlignMiddle and FormFieldFacade.AlignRight.

Return Value

true if field was found and alignment was successfully filled.


FormEditor fe = new FormEditor("PdfStaticForm.pdf", "VerticalAlign.pdf");
fe.SetFieldAlignmentV("form1[0].TextField[0]", FormFieldFacade.AlignBottom);

See Also