THPDFPage.AddListBox

THPDFPage

 

方法  AcroForm 支援

Adds an AcroForm list box choice field to the current page.

 

Delphi 語法:

procedure AddListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect; Flags: THPDFFormFieldFlags = []);

 

說明

此方法會建立不含 Combo flag 的 /Ch field。當 viewer 應允許選取多個 option 時,請在 Flags 中使用 ffMultiSelect

 

請參閱: AcroForm 支援, LastAnnotation