THPDFPage.CreateCheckBox Method

Provides create check box behavior for the page geometry workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function CreateCheckBox(const FieldName, ExportValue: AnsiString; Rectangle: TRect; Checked: boolean= false; Flags: THPDFFormFieldFlags= []): THPDFAcroFormField;

Unit

HPDFDoc

Parameters

NamePurpose
FieldNameAcroForm field name or field dictionary targeted by the helper
ExportValueInput used by CreateCheckBox
RectanglePage area or widget rectangle where the operation is applied
CheckedInput used by CreateCheckBox
FlagsInput used by CreateCheckBox

Return value

Returns a THPDFAcroFormField value

Usage notes

Related APIs