PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets string representing ComboBox control items separated with "new line" symbol.
|
| BSTR PDFANNOTATION_Items { get; set; } |
Value
String representing current ComboBox's items separated with "new line" symbol.
For example:
"Item1 Item2 Item3"
Remarks
Example
Creating a combobox
Delphi
[copy to clipboard]
{ 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;
C/C++
[copy to clipboard]
// 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();
C#
[copy to clipboard]
// 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();
Visual Basic
[copy to clipboard]
' 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
See Also
Reference


