SetFormFieldCheckStyle

Form fields

Description

Sets the check style for checkbox fields or radio-button sub-fields.

Syntax

Delphi

function TPDFlib.SetFormFieldCheckStyle(Index, CheckStyle, Position: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldCheckStyle(Index As Long, CheckStyle As Long, Position As Long) As Long

DLL

int DLSetFormFieldCheckStyle(int InstanceID, int Index, int CheckStyle, int Position);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.
CheckStyle0 = Cross 1 = Check (Tick) 2 = Dot (Radio) 3 = XP check 4 = XP Radio 5 = Diamond 6 = Square 7 = Star
Position0 = Left align 1 = Center 2 = Right align

Return values

0One of the parameters was invalid
1The check style was set successfully