I tried using the given method, but this doesn't add the image on the document.
This adds the note image on the document.. But i need the image to be added directly on the document.
Is there any solution for this?
// Re-render the current page
Here i am getting one problem, only with the rect used in the method the image is plotted at the bottom left corner of the page.
When i change any of the rect value the image is not seen.
Can you please explain me the significance of the Rect or what values should i provide to the rect?
I need to add the image at the point where i have long pressed on the pdf.