page(for:nearest:)
Returns the page containing a point specified in view coordinates.
Declaration
func page(for point: CGPoint, nearest: Bool) -> PDFPage?func page(for point: NSPoint, nearest: Bool) -> PDFPage?Discussion
Returns NULL if there’s no page at the specified point and nearest is set to false.