create bookmark with WPPDFPrinter

    • Offizieller Beitrag

    Hi,

    "Bookmarks" are invisible - they are similar to MS Words bookmarks (german: "Lesezeichen"). They can be used as jump destinations with hyperlinks and outlines.

    What you need are "outlines" - please see the API of wPDF to create outlines.

    function SetOutlineXY(const Caption: AnsiString; X, Y: Integer; aPrevious, aParent: Integer): Integer;
    function SetOutline(const Caption, BookMarkName: AnsiString; aPrevious, aParent: Integer): Integer;