Function

CGPDFContextAddDestinationAtPoint

Sets a destination to jump to when a point in the current page of a PDF graphics context is clicked.

Declaration

void CGPDFContextAddDestinationAtPoint(CGContextRef context, CFStringRef name, CGPoint point);

Parameters

context

A PDF graphics context.

name

A destination name.

point

A location in the current page of the PDF graphics context.

See Also

Working with Destinations

CGPDFContextSetDestinationForRect

Sets a destination to jump to when a rectangle in the current PDF page is clicked.

CGPDFContextSetURLForRect

Sets the URL associated with a rectangle in a PDF graphics context.