Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Annotations
PDFANNOTATION_Items

See Also Example
Collapse All

This property gets or sets the string representing a ComboBox's control items separated with "new line" symbols.

Syntax

BSTR PDFANNOTATION_Items { get; set; }
Value

String containing the current ComboBox's items separated with "new line" symbols

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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots