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_Multiline

See Also Example
Collapse All

This property gets or sets the value indicating if an Edit control is in multiline mode.

Syntax

VARIANT_BOOL PDFANNOTATION_Multiline { get; set; }
Value
If the property is set to VARIANT_TRUE, the edit control can contain multiple lines of text, as in a text box. If VARIANT_FALSE, the field's text is restricted to a single line.

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.

Equivalent in new interface: IPDFDocument4::IsMultilineEditBox.

Example

Creating a Multiline 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

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