Skip to main content

IdxRichEditSubDocument.AppendSingleLineText(string) Method

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

Declaration

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