FormEditorSetFieldAlignmentV Method
Set the vertical alignment style of a text field.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public bool SetFieldAlignmentV(
	string fieldName,
	int alignment
)

Parameters

fieldName
Type: SystemString
The qualified field name.
alignment
Type: SystemInt32
The alignment style definition, including FormFieldFacade.AlignTop, FormFieldFacade.AlignMiddle and FormFieldFacade.AlignRight.

Return Value

Type: Boolean
true if field was found and alignment was successfully filled.
Examples
C#
FormEditor fe = new FormEditor("PdfStaticForm.pdf", "VerticalAlign.pdf");
fe.SetFieldAlignmentV("form1[0].TextField[0]", FormFieldFacade.AlignBottom);
See Also