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 Long
DLL
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 | Centred 2 Right aligned |