THotPDF.AddLoadedNamedDestination

THotPDF

 

Top  Previous  Next

Adds a named destination to a loaded PDF.

 

Delphi syntax:

function AddLoadedNamedDestination( const AName: AnsiString; DestPageIndex: Integer; X: Single = 0; Y: Single = 0): boolean;

 

Description

Adds a named destination to a loaded PDF, or replaces the destination of an existing name. AName is linked to page DestPageIndex (zero-based) at the point X, Y in PDF user space, written as [page /XYZ X Y null] so the current zoom is kept. The entry is inserted at its sorted position in the Dests name tree, also in trees split into /Kids nodes. Returns False when AName is empty or DestPageIndex is out of range

 

See also: THotPDF