Click or drag to resize

DocumentAddNamedDestination Method

Adds a named destination to the document: a location that links and other documents can refer to by name, for example "document.pdf#chapter-2" in a web page or a link in another PDF.

Namespace: ExpertPdf.PdfCreator
Assembly: epdfcreator (in epdfcreator.dll) Version: 22.0.0
Syntax
public void AddNamedDestination(
	string name,
	ExplicitDestination destination
)

Parameters

name  String
The destination name: up to 127 characters, ASCII letters, digits and the characters - _ . : A destination with the same name is replaced.
destination  ExplicitDestination
The location in this document: the page, the point on the page and how it is displayed.
Remarks
The destination is saved in the document catalog (the /Dests dictionary), where PDF viewers look up the name given after # in a document URL or in a named link.
See Also