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

IndexThe index of the form field to work with. The first form field has an index of 1.

Return values

0Left alignment (this value is also returned if the form field could not be found)
1Centered 2 Right aligned