THPDFPage.AddTextField

THPDFPage

 

方法  AcroForm 支持

Adds an AcroForm text field widget to the current page.

 

Delphi 语法:

procedure AddTextField(const FieldName, InitialValue: AnsiString; Rectangle: TRect; MaxLen: Integer = 0; Flags: THPDFFormFieldFlags = []);

 

说明

该方法创建 /Tx field,并将其注册到文档 AcroForm dictionary 中。使用 Flags 启用 multiline、password、comb、file-select、rich-text、scroll 和 spell-check 等 text-field options

 

另请参阅: AcroForm 支持, LastAnnotation