FormEditor.SetFieldAlignmentV

FormEditor.SetFieldAlignmentV method

Set the vertical alignment style of a text field.

public bool SetFieldAlignmentV(string fieldName, int alignment)
ParameterTypeDescription
fieldNameStringThe qualified field name.
alignmentInt32The alignment style definition, including FormFieldFacade.AlignTop, FormFieldFacade.AlignMiddle and FormFieldFacade.AlignRight.

Return Value

true if field was found and alignment was successfully filled.

Examples

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

See Also