THPDFPage.AddListBox

THPDFPage

 

Methods  AcroForm Support

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

 

Delphi syntax:

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

 

Description

The method creates a /Ch field without the Combo flag. Use ffMultiSelect in Flags when the viewer should allow more than one option to be selected.

 

See also: AcroForm Support, LastAnnotation