THPDFPage.CreateCheckBox Method
Résumé de la méthode: THPDFPage.CreateCheckBox Method
Déclaration
function CreateCheckBox(const FieldName, ExportValue: AnsiString; Rectangle: TRect; Checked: boolean = false): THPDFAcroFormField;
Unité
HPDFDoc
Paramètres
| Nom | Objectif |
|---|---|
FieldName | Name of the form field |
ExportValue | Value exported when the check box is selected |
Rectangle | Widget rectangle on the page |
Checked | Initial checked state |
Flags | Entrée utilisée par CreateCheckBox |
Valeur de retour
THPDFAcroFormField wrapper for the created check box
Notes d'utilisation
- Use the returned wrapper when additional appearance or action configuration is needed
- Use THPDFPage.AddCheckBox for the simpler one-call workflow
- Les changements au niveau page affectent les opérateurs suivants sur la même page ; sauvegardez et restaurez l’état graphique lorsqu’un réglage temporaire ne doit pas se propager
API associées
- AcroForm Support
- THotPDF
- Contents