AndreRenaud / PDFGen

Simple C PDF Writer/Generation library
The Unlicense
504 stars 120 forks source link

Add functionality to add link annotations #120

Closed mcgouganp closed 2 years ago

mcgouganp commented 2 years ago

Link annotations are useful for creating constructs like Table of Contents or Indexes.

This adds a new function pdf_add_link which makes a section of a page clickable, and clicking takes the viewer to a nominated destination in the document.

Signed-off-by: Paul McGougan paul@plmservices.com.au

AndreRenaud commented 2 years ago

Thanks for this, it's a great addition.