You can add links and anchors to PDF context you create, starting with Mac OS X v10.4. Quartz provides three functions, each of which takes a PDF graphics context as a parameter, along with information about the links:
CGPDFContextSetURLForRect lets you specify a URL to open when the user clicks a rectangle in the current PDF page.
CGPDFContextSetDestinationForRect lets you set a destination to jump to when the user clicks a rectangle in the current PDF page. You must supply a destination name.
CGPDFContextAddDestinationAtPoint lets you set a destination to jump to when the user clicks a point in the current PDF page. You must supply a destination name.
Last updated: 2007-12-11