Skip to main content
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

FMX.TMSFNCPDFRichTextLib.hppPascalC++
function GetRichTextRange(ADataType: TTMSFNCPDFRichTextLibDataType = dtArchivedXMLDocumentType; AStart: Integer = -1; ALength: Integer = -1): String; overload;
virtual System::UnicodeString __fastcall GetRichTextRange(TTMSFNCPDFRichTextLibDataType ADataType = (TTMSFNCPDFRichTextLibDataType)(0x0), int AStart = 0xffffffff, int ALength = 0xffffffff) = 0 /* 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.