SetFormFieldCheckStyle
Description
Sets the check style for checkbox fields or radio-button sub-fields.
Syntax
Delphi
function TQuickPDF0813.SetFormFieldCheckStyle(Index, CheckStyle,
Position: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetFormFieldCheckStyle(Index As Long,
CheckStyle As Long, Position As Long) As Long
DLL
int QuickPDFSetFormFieldCheckStyle(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 in a box 1 = Check (tick) in a box 2 = Dot in circle (radio button) 3 = XP style checkbox 4 = XP style radio button |
| 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 |