Skip to main content
Table of Contents

ITMSFNCCustomPDFRichTextLib.SetURL Method

Assigns a URL to the specified text range so it renders as a clickable hyperlink.

API unit family: TMSFNCPDFRichTextLib Declaring type: ITMSFNCCustomPDFRichTextLib

Syntax

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

Parameters

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