Contents

add(_:)

Adds the specified array of selections to the receiving selection.

Declaration

func add(_ selections: [PDFSelection])

Discussion

This method provides better performance than multiple calls to addSelection if you need to add several selections to an existing selection. This is because the normalization of the selection (the removal of any overlaps between selections) occurs only once, after all selections have been added.

See Also

Related Documentation

Modifying a Selection