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

procedure ReplaceText(AText: String; AStart: Integer = -1; ALength: Integer = -1);

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.