Skip to content

Commit

Permalink
Let the world know about the renderAnnot param
Browse files Browse the repository at this point in the history
This add 2 lines of comments in the code example to help other users to get Bitmaps from PDF with form fields and annotations
  • Loading branch information
matpag authored Jun 2, 2017
1 parent 988cf09 commit dc35694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit dc35694

Please sign in to comment.