init(page:at:)
Initializes the destination.
Declaration
init(page: PDFPage, at point: CGPoint)init(page: PDFPage, at point: NSPoint)Parameters
- page:
The page of the destination.
- point:
The point of the destination, in page space.
Return Value
An initialized PDFDestination instance, or NULL if the object could not be initialized.
Discussion
Specify point in page space. Typically, there’s no need to initialize destinations. Instead, you get them from PDFAnnotationLink, PDFOutline, or PDFView objects.
Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.