pvginkel / PdfiumViewer

PDF viewer based on Google's PDFium.
Apache License 2.0
972 stars 418 forks source link

Use PdfRenderFlags.CorrectFromDpi so that the DPI settings in 'Export bitmaps' have an effect. #155

Open rasjidw opened 6 years ago

rasjidw commented 6 years ago

When testing out the PdfiumViewer library, I found that changing the DPI settings in the Tools - Render to Bitmaps (Export bitmaps) had no obvious effect.

Passing in PdfRenderFlags.CorrectFromDpi rather than (boolean) false appears to correct the issue.