Skip to main content
Table of Contents

ITMSFNCCustomPDFGraphicsLib.AddURL Method

Adds a clickable hyperlink annotation over the specified rectangle.

API unit family: TMSFNCPDFGraphicsLib Declaring type: ITMSFNCCustomPDFGraphicsLib

Syntax

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure AddURL(AText: UnicodeString; AURL: UnicodeString; ARect: TRectF);
virtual void __fastcall AddURL(System::UnicodeString AText, System::UnicodeString AURL, const System::Types::TRectF &ARect) = 0;

Parameters

Name Description
AText Visible link text drawn inside the rectangle.
AURL Target URL opened when the user clicks the annotation.
ARect Bounding rectangle of the link annotation in PDF coordinate units.