Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.SetSuperscript Method

Sets the superscript offset for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
procedure SetSuperscript(AValue: Single = 2; AStart: Integer = -1; ALength: Integer = -1);
virtual void __fastcall SetSuperscript(float AValue = 2.000000E+00f, int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

Parameters

Name Description
AValue Vertical offset above the baseline; default 2 applies a standard superscript.
AStart Zero-based start index; -1 uses the selection start.
ALength Number of characters; -1 uses the selection length.