pvginkel / PdfiumViewer

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

Should be able to render both annotations and form fields #146

Open mrbastian opened 6 years ago

mrbastian commented 6 years ago

Annotations flag was being used to render form fields, but not annotations (aka PDF comments).

I tried to avoid modifying existing method behaviors in order to not break any existing code, but added a new method/parameter that uses a separate bool to draw form fields and does not modify Annotations flag so that annotations can also be included in render.