Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.GetURL Method

Returns the URL associated with the specified text range.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

FMX.TMSFNCPDFRichTextLib.hppPascalC++
function GetURL(AStart: Integer = -1; ALength: Integer = -1): String;
virtual System::UnicodeString __fastcall GetURL(int AStart = 0xffffffff, int ALength = 0xffffffff) = 0;

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.