Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.ReplaceText Method

Replaces the specified character range with the given plain text string.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
procedure ReplaceText(AText: String; AStart: Integer = -1; ALength: Integer = -1);
virtual void __fastcall ReplaceText(System::UnicodeString AText, int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

Parameters

Name Description
AText Replacement plain text.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters to replace; -1 uses the selection length.