THPDFNamesFacade.AddNamedDestination Method

Adds a named destination that can be targeted by named-destination links

Declaration

procedure AddNamedDestination(const Name: AnsiString; PageIndex: Integer; FitMode: THPDFDestinationFitMode = dfmFit; Left: Single = 0; Top: Single = 0; Right: Single = 0; Bottom: Single = 0; Zoom: Single = 0);

Unit

HPDFDoc

Parameters

NamePurpose
NameDestination name added to the document name tree
PageIndexZero-based page the destination jumps to
FitModePage fit mode (see THPDFDestinationFitMode); defaults to dfmFit
Left, Top, Right, BottomPosition coordinates used by the position-dependent fit modes; default to 0
ZoomZoom factor used by dfmXYZ; defaults to 0

Usage notes

Related APIs