Table of Contents

ITMSFNCCustomPDFRichTextLib.GetFont Method

Returns the font name and size for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

function GetFont(AStart: Integer = -1; ALength: Integer = -1): TTMSFNCPDFRichTextLibFontValue;

Parameters

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

Returns

Record containing the font family name and point size for the range.