From dc356948cb03b92a8764409bd38a98fe79d4b262 Mon Sep 17 00:00:00 2001 From: Mattia Pagini Date: Fri, 2 Jun 2017 23:20:25 +0200 Subject: [PATCH] Let the world know about the renderAnnot param This add 2 lines of comments in the code example to help other users to get Bitmaps from PDF with form fields and annotations --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 012ca9a7..310d227f 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ void openPdf() { Bitmap.Config.ARGB_8888); pdfiumCore.renderPageBitmap(pdfDocument, bitmap, pageNum, 0, 0, width, height); + //if you need to render annotations and form fields, you can use + //the same method above adding 'true' as last param iv.setImageBitmap(bitmap);