GetFormFieldAlignment
Form fields
Description
Retrieves the text alignment of the specified form field.
Syntax
Delphi
function TPDFlib.GetFormFieldAlignment(Index: Integer): Integer;ActiveX
Function PDFlib::GetFormFieldAlignment(Index As Long) As LongDLL
int DLGetFormFieldAlignment(int InstanceID, int Index);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|
Return values
| 0 | Left alignment (this value is also returned if the form field could not be found) |
|---|---|
| 1 | Centered 2 Right aligned |