SetComboBoxItems
IPDFDocument4 :: Annotations

See Also
Collapse All

This method sets the ASCII string representing ComboBox control items, separated by the "new line" symbol.

Syntax

HRESULT SetComboBoxItems (
BSTR items,
FontCharset charset
)
Parameters
items
ASCII text string containing ComboBox items, separated by the "new line" symbol.

charset
Character set of the items in the text string

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

The text string representing the current ComboBox items may look like this:

"Item1
Item2
Item3"

See Also

Reference