THPDFPage.AddTextField

THPDFPage

 

Методы  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 = []);

 

Описание

Метод создает /Tx field и регистрирует его в document AcroForm dictionary. Используйте Flags, чтобы включить text-field options, такие как multiline, password, comb, file-select, rich-text, scroll и spell-check behavior

 

См. также: AcroForm Support, LastAnnotation