Table of Contents

ITMSFNCCustomPDFRichTextLib.GetRichTextRange Method

Returns the rich text content of the specified character range serialized in the given format.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

function GetRichTextRange(ADataType: TTMSFNCPDFRichTextLibDataType = dtArchivedXMLDocumentType; AStart: Integer = -1; ALength: Integer = -1): String; overload;

Parameters

Name Description
ADataType Serialization format for the output.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.

Returns

Serialized rich text string for the specified range in the requested format.