Skip to main content
Table of Contents

ITMSFNCCustomPDFFormFieldsLib.AddCheckBox Method

Adds a check box field at the specified position on the current page.

API unit family: TMSFNCPDFLib Declaring type: ITMSFNCCustomPDFFormFieldsLib

Syntax

FMX.TMSFNCPDFLib.hppPascalC++
procedure AddCheckBox(AFieldName: string; ARect: TRectF; AIsChecked: Boolean; AReadOnly: Boolean = False; AHidden: Boolean = False);
virtual void __fastcall AddCheckBox(System::UnicodeString AFieldName, const System::Types::TRectF &ARect, bool AIsChecked, bool AReadOnly = false, bool AHidden = false) = 0;

Parameters

Name Description
AFieldName Unique name for the field in the PDF form.
ARect Bounding rectangle of the field in PDF coordinate units.
AIsChecked Initial checked state of the check box.
AReadOnly When True, the field is read-only in the PDF viewer.
AHidden When True, the field is invisible in the PDF viewer.