Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.GetSubscript Method

Returns the subscript offset for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
function GetSubscript(AStart: Integer = -1; ALength: Integer = -1): Single;
virtual float __fastcall GetSubscript(int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

Parameters

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

Returns

Vertical offset below the baseline in PDF coordinate units; 0 when no subscript is applied.