PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllGets or sets value indicating if an Edit control is in multiline mode.
|
| VARIANT_BOOL PDFANNOTATION_Multiline { get; set; } |
Value
VARIANT_TRUE if if the edit control isĀ in multiline mode, VARIANT_FALSE otherwise.
Remarks
If the property is set to TRUE, the edit control can contain multiple lines of text, as in a text box. If FALSE, the field's text is restricted to a single line.
Example
Creating a miltiline edit box
Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_Edit('edt1', 10, 10, 110, 36);
PDF.PDFANNOTATION_Text := 'Text';
PDF.PDFANNOTATION_Multiline := true;
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 36);
PDF->PDFANNOTATION_Text = "Text";
PDF->PDFANNOTATION_Multiline = TRUE;
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 36);
PDF.PDFANNOTATION_Text = "Text";
PDF.PDFANNOTATION_Multiline = true;
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created PDF.BeginDoc PDF.PDFPAGE_CreateControl_Edit "edt1", 10, 10, 110, 36 PDF.PDFANNOTATION_Text = "Text" PDF.PDFANNOTATION_Multiline = True PDF.EndDoc
See Also
Reference


