Table of Contents

ITMSFNCCustomPDFRichTextLib.GetURL Method

Returns the URL associated with the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

function GetURL(AStart: Integer = -1; ALength: Integer = -1): String;

Parameters

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

Returns

URL string, or an empty string if no URL is set on the range.