The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SubDocument.AppendText(String) Method

Appends the specified text.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

DocumentRange AppendText(
    string text
)
Function AppendText(
    text As String
) As DocumentRange
DocumentRange AppendText(
    string text
)
Function AppendText(
    text As String
) As DocumentRange

Parameters

Name Type Description
text String

A string containing the text to append.

Parameters

Name Type Description
text String

A string containing the text to append.

Returns

Type Description
DocumentRange

A DocumentRange representing a range with the appended text.

Returns

Type Description
DocumentRange

A DocumentRange representing a range with the appended text.

Examples

document.AppendText("abcdefgh");
DocumentRange r1 = document.AppendText("X");
string s1 = String.Format("Range r1 starts at {0}, ends at {1}", r1.Start, r1.End);
document.AppendText("Y");
document.AppendText("Z");
string s2 = String.Format("Currently range r1 starts at {0}, ends at {1}", r1.Start, r1.End);
document.Paragraphs.Append();
document.AppendText(s1);
document.Paragraphs.Append();
document.AppendText(s2);
See Also