How to get the page image with annotations. - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: How to get the page image with annotations.

How to get the page image with annotations. 1 year 9 months ago #11860

  • Rajat Singla
  • Rajat Singla's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 0
Hii..

I tried to get the image of the page using :
CGImageRef bookmarkThumbnailRef = [m_view vGetImageForPage:pageno withSize:CGSizeMake(pageWidth,pageHeight) withBackground:false];

But, this image does not contains annotations added on that page.

Please tell me how to get the image with annotation.

Thanks

Please Log in or Create an account to join the conversation.

How to get the page image with annotations. 1 year 9 months ago #11864

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 512
  • Karma: 15
  • Thank you received: 56
Hi,

to show also the annotations, you have to modify vGetImageRefForPage and getPageImageRef methods in PDFV.m:
When methods use Page_render, you have to set the bool param to true (in both methods), to render also the annotations.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum