Contents

index(for:)

Gets the index number for the specified page.

Declaration

func index(for page: PDFPage) -> Int

Discussion

Indexes are zero-based. This method raises an exception and returns NSNotFound if page is not found.

See Also

Working with Pages