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,並將它註冊到 document AcroForm dictionary。使用 Flags 啟用 multiline、password、comb、file-select、rich-text、scroll 與 spell-check behavior 等 text-field options

 

請參閱: AcroForm 支援, LastAnnotation