Table of Contents

ITMSFNCCustomPDFRichTextLib.GetSuperscript Method

Returns the superscript offset for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

function GetSuperscript(AStart: Integer = -1; ALength: Integer = -1): Single;

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 above the baseline in PDF coordinate units; 0 when no superscript is applied.