Instance Method

addSelections:

Adds the specified array of selections to the receiving selection.

Declaration

- (void)addSelections:(NSArray<PDFSelection *> *)selections;

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

Modifying a Selection

- addSelection:

Adds the specified selection to the receiving selection.

- extendSelectionAtEnd:

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

- extendSelectionAtStart:

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