Contents

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?

See Also

Working with Selections