SetFormFieldAlignment
Form fields
Description
Sets the alignment for the specified form field.
Syntax
Delphi
function TPDFlib.SetFormFieldAlignment(Index, Alignment: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldAlignment(Index As Long, Alignment As Long) As LongDLL
int DLSetFormFieldAlignment(int InstanceID, int Index, int Alignment);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| Alignment | The alignment to use for the form field: 0 = Left alignment 1 = Centered 2 = Right alignment |
Return values
| 0 | The form field index was invalid |
|---|---|
| 1 | The alignment of the form field was set successfully |