selection(for:)
Returns the text enclosed within the specified rectangle, expressed in page (user) coordinates.
Declaration
func selection(for rect: CGRect) -> PDFSelection?func selection(for rect: NSRect) -> PDFSelection?Returns the text enclosed within the specified rectangle, expressed in page (user) coordinates.
func selection(for rect: CGRect) -> PDFSelection?func selection(for rect: NSRect) -> PDFSelection?