Saving Annotation (ink) on permanently on PDF - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Questions about Android development and PDF

TOPIC: Saving Annotation (ink) on permanently on PDF

Saving Annotation (ink) on permanently on PDF 3 years 3 weeks ago #9005

  • scott2srikanth
  • scott2srikanth's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Can I save signature (ink annotation) on PDF permanently?

I used
m_doc.Save();

and able to save the annotations, but these the annotation are editable when ever I open the PDF.

Can we stop preventing editing saved annotation generally(ink annotations)?

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

Saving Annotation (ink) on permanently on PDF 3 years 3 weeks ago #9006

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 803
  • Karma: 16
  • Thank you received: 63
Hi,
yes you should use
m_annot.SetLocked(true);

This method has been fixed in the last beta version : was corrupting text fields rendering.
You can safely use the beta, we are expecting to promote to stable version friday next week.
The following user(s) said Thank You: scott2srikanth

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

Saving Annotation (ink) on permanently on PDF 6 months 2 weeks ago #13183

  • rohitgarg2990
  • rohitgarg2990's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
It would be great help if you can tell where exactly to call this method.

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

Saving Annotation (ink) on permanently on PDF 6 months 2 weeks ago #13184

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 803
  • Karma: 16
  • Thank you received: 63
Hi,
it dipends on your needs.
For example you can lock annot after adding it with something like this :
Annotation annot = page.GetAnnot(page.GetAnnotCount() - 1);     //get last added annot
annot.SetLocked(true);

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

Saving Annotation (ink) on permanently on PDF 6 months 1 week ago #13211

  • rohitgarg2990
  • rohitgarg2990's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi, i tried your solution before saving the pdf, but it did not work. My exact requirement is that i want to make the annotation just like text so that if someone opens it in pdf reader and they won't be able to delete that annotation. Right now, if i save it and open it on laptop, i can remove the annotation but text i can not remove.

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

Saving Annotation (ink) on permanently on PDF 6 months 1 week ago #13215

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 834
  • Karma: 22
  • Thank you received: 65
You can call Page.FlatAnnots -> this will make the annotations part of the page content and cannot be removed.
but it will flatten all the annotations contained in this page
This method requires the premium license.

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

Powered by Kunena Forum