Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.GetPlainTextRange Method

Returns the plain text content of the specified character range, stripping all formatting.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
function GetPlainTextRange(AStart: Integer = -1; ALength: Integer = -1): String; overload;
virtual System::UnicodeString __fastcall GetPlainTextRange(int AStart = 0xffffffff, int ALength = 0xffffffff) = 0 /* overload */;

Parameters

Name Description
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.

Returns

Plain text string for the specified range with all formatting removed.