PDFANNOTATION_Multiline
IPDFDocument3 :: Annotations

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