Instance Method


Adds the specified array of selections to the receiving selection.


func add(_ selections: [PDFSelection])


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

Modifying a Selection

func add(PDFSelection)

Adds the specified selection to the receiving selection.

func extend(atEnd: Int)

Extends the selection from its end toward the end of the document.

func extend(atStart: Int)

Extends the selection from its start toward the beginning of the document.