49
edits
Changes
Remove ctx.isFilePrint + ctx.DPI -> ctx.dpi
pDoc.renderPage = function(pageNumber, ctx) {
if (ctx.isPreview) {
var dpi = ctx.DPIdpi;
// Only draw images in low resolution for preview
// ...
}