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 }
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; }