Initializer

init(document:)

Returns an empty PDFSelection object.

Declaration

init(document: PDFDocument)

Discussion

Typically, you don’t need to create a PDFSelection object, but you can use an empty PDFSelection object as a container into which you can place selections, using PDFSelection and addSelections.