Instance Method


Adds the specified selection to the receiving selection.


func add(_ selection: PDFSelection)


Selections do not have to be contiguous. If the selection to be added overlaps with the receiving selection, the overlap is removed in a process called normalization.

See Also

Modifying a Selection

func add([PDFSelection])

Adds the specified array of selections 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.