PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse All
|
| VARIANT_BOOL PDFANNOTATION_EditEnabled { get; set; } |
Value
VARIANT_TRUE if the edit is enabled, VARIANT_FALSE otherwise.
Remarks
If a property is set to true, the combo box includes an editable text box as well as a drop down list; if false, the combo box includes only a drop down list.
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


