Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

How to get the page image with annotations.

More
9 years 7 months ago #11860 by Rajat Singla
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
More
9 years 7 months ago #11864 by emanuele
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.
Time to create page: 0.386 seconds
Powered by Kunena Forum