Table of Contents

ITMSFNCCustomPDFRichTextLib.GetBaselineOffset Method

Returns the baseline offset for the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

function GetBaselineOffset(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 from the normal baseline in PDF coordinate units; positive values shift text up, 0 when none is applied.