This property gets or sets the string representing a ComboBox's control items separated with "new line" symbols.
BSTR PDFANNOTATION_Items { get; set; } |
String containing the current ComboBox's items separated with "new line" symbols
For example:
"Item1 Item2 Item3"
Equivalent in new interface: IPDFDocument4::SetComboBoxItems, IPDFDocument4::ComboBoxUnicodeItems.
{ PDF object is supposed to be created } PDF.BeginDoc; PDF.PDFPAGE_CreateControl_Combobox('ctrl1', 10, 10, 110, 23); PDF.PDFANNOTATION_Text := 'Text'; PDF.PDFANNOTATION_Items := '111111' + #13#10 + '222222' + #13#10 + '333333'; PDF.PDFANNOTATION_EditEnabled := false; PDF.EndDoc;
// PDF object is supposed to be created PDF->BeginDoc(); PDF->PDFPAGE_CreateControl_Combobox("ctrl1", 10, 10, 110, 23); PDF->PDFANNOTATION_Text = "Text"; PDF->PDFANNOTATION_Items = "111111\n222222\n333333"; PDF->PDFANNOTATION_EditEnabled = FALSE; PDF->EndDoc();
// PDF object is supposed to be created PDF.BeginDoc(); PDF.PDFPAGE_CreateControl_Combobox("ctrl1", 10, 10, 110, 23); PDF.PDFANNOTATION_Text = "Text"; PDF.PDFANNOTATION_Items = "111111\n222222\n333333"; PDF.PDFANNOTATION_EditEnabled = false; PDF.EndDoc();
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_Combobox "ctrl1", 10, 10, 110, 23 PDF.PDFANNOTATION_Text = "Text" PDF.PDFANNOTATION_Items = "111111" & vbCrLf & "222222" & vbCrLf & "333333" PDF.PDFANNOTATION_EditEnabled = False PDF.EndDoc