Table of Contents

ITMSFNCCustomPDFRichTextLib.SetBold Method

Sets or clears bold styling for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

procedure SetBold(AValue: Boolean = True; AStart: Integer = -1; ALength: Integer = -1);

Parameters

Name Description
AValue When True, applies bold; when False, removes bold.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.