CPDFPageThumbnailSource.document constructor

const CPDFPageThumbnailSource.document(
  1. CPDFDocument document, {
  2. Object? cacheVersion,
})

Uses an existing CPDFDocument. The document is not closed by the provider.

Implementation

const CPDFPageThumbnailSource.document(
  CPDFDocument document, {
  Object? cacheVersion,
}) : this._(document: document, cacheVersion: cacheVersion);