THPDFPage.CreateListBox Method

Method summary: THPDFPage.CreateListBox Method

Declaration

function CreateListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;

Unit

HPDFDoc

Parameters

NamePurpose
FieldNameName of the form field
InitialValueInitial selected value
OptionsAvailable list box values
RectangleWidget rectangle on the page

Return value

THPDFAcroFormField wrapper for the created list box

Usage notes

Related APIs