Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditSubDocument.AppendSingleLineText(string) Method

Adds a single line of text to the end of a subdocument.

#Declaration

Delphi
function AppendSingleLineText(const AText: string): IdxRichEditDocumentRange;

#Parameters

Name Type
AText string

#Returns

Type
IdxRichEditDocumentRange

#Remarks

Call the AppendSingleLineText function to append an unformatted text string passed as the AText parameter. This function returns the document range corresponding to the text appended as a new line.

If you need to remove text from the document, invoke the Delete procedure.

Note

Calling the AppendSingleLineText function does not create a new paragraph break. To append a new paragraph, invoke the AppendParagraph function instead.

See Also