FormEditor.SetFieldAlignmentV
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.
Examples
FormEditor fe = new FormEditor("PdfStaticForm.pdf", "VerticalAlign.pdf");
fe.SetFieldAlignmentV("form1[0].TextField[0]", FormFieldFacade.AlignBottom);
See Also
- class FormEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF