Skip to main content
Table of Contents

ITMSFNCCustomPDFGraphicsLib.AddGoTo Method

Adds an internal navigation link that jumps to a named destination in the same document.

API unit family: TMSFNCPDFGraphicsLib Declaring type: ITMSFNCCustomPDFGraphicsLib

Overloads

Overload 1

Adds an internal navigation link that jumps to a named destination in the same document.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure AddGoTo(AText: Unicodestring; ADestination: UnicodeString; ARect: TRectF); overload;
virtual void __fastcall AddGoTo(System::UnicodeString AText, System::UnicodeString ADestination, const System::Types::TRectF &ARect) = 0 /* overload */;

Parameters

Name Description
AText Visible link text drawn inside the rectangle.
ADestination Named destination string defined elsewhere in the document.
ARect Bounding rectangle of the link annotation in PDF coordinate units.

Overload 2

Adds an internal navigation link that jumps to the specified page index in the same document.

FMX.TMSFNCPDFGraphicsLib.hppPascalC++
procedure AddGoTo(AText: Unicodestring; APageIndex: Integer; AOptions: UnicodeString; ARect: TRectF); overload;
virtual void __fastcall AddGoTo(System::UnicodeString AText, int APageIndex, System::UnicodeString AOptions, const System::Types::TRectF &ARect) = 0 /* overload */;

Parameters

Name Description
AText Visible link text drawn inside the rectangle.
APageIndex Zero-based index of the target page.
AOptions PDF destination option string controlling the zoom and position on the target page.
ARect Bounding rectangle of the link annotation in PDF coordinate units.