HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.AddTextField
|
Methods AcroForm Support |
|
Adds an AcroForm text field widget to the current page.
Delphi syntax: procedure AddTextField(const FieldName, InitialValue: AnsiString; Rectangle: TRect; MaxLen: Integer = 0; Flags: THPDFFormFieldFlags = []);
Description The method creates a /Tx field and registers it in the document AcroForm dictionary. Use Flags to enable text-field options such as multiline, password, comb, file-select, rich-text, scroll, and spell-check behavior.
See also: AcroForm Support, LastAnnotation |