Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

How to get the page image with annotations. 7 years 2 months ago #11860

  • Rajat Singla
  • Rajat Singla's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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. 7 years 2 months ago #11864

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
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