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 LongDLL
int DLSetFormFieldCheckStyle(int InstanceID, int Index, int CheckStyle, int Position);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| CheckStyle | 0 = Cross 1 = Check (Tick) 2 = Dot (Radio) 3 = XP check 4 = XP Radio 5 = Diamond 6 = Square 7 = Star |
| Position | 0 = Left align 1 = Center 2 = Right align |
Return values
| 0 | One of the parameters was invalid |
|---|---|
| 1 | The check style was set successfully |