Beispiel #1
0
 public PdfImageProvider(string pdfFilename, int totalPages, PageDisplaySettings settings, bool preFetch = true)
 {
     this.pdfFilename = pdfFilename;
     this.totalPages  = totalPages;
     this.Settings    = settings;
     this.preFetch    = preFetch;          // preFetch is relevant for continuous page display
 }
Beispiel #2
0
 public PdfImageProvider(IPdfSource pdfSource, int totalPages, PageDisplaySettings settings, bool preFetch = true, string password = null)
 {
     this.pdfSource  = pdfSource;
     this.totalPages = totalPages;
     this.Settings   = settings;
     this.preFetch   = preFetch;           // preFetch is relevant for continuous page display
     this.password   = password;
 }