THPDFPage.CreateComboBox Method

Method summary: THPDFPage.CreateComboBox Method

Declaration

function CreateComboBox(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 combo box values
RectangleWidget rectangle on the page

Return value

THPDFAcroFormField wrapper for the created combo box

Usage notes

Related APIs