Method SetBookmark

Top  Previous  Next

Creates a bookmark entry in the PDF file.

 

Parameters:

const BookMarkName : string        This is the name of the book mark. The book mark can be used by SetLinkArea or SetOutline.        

X,Y : Integer        This is the x and y position on the current page which should be located.        

 

Example:

         WPPDFPrinter1.SetLinkArea(TLabel(c).Hint, c.BoundsRect);

         WPPDFPrinter1.Canvas.Font.Style :=

           WPPDFPrinter1.Canvas.Font.Style + [fsUnderline];

         WPPDFPrinter1.Canvas.Font.Color := clBlue;