Page.AddAnnotText() returns false - 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 Android development and PDF
  • Page:
  • 1

TOPIC: Page.AddAnnotText() returns false

Page.AddAnnotText() returns false 3 years 8 months ago #8587

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Hello,

i've got a problem: if i open a document via
Document.Open()
and add an annotation by
Page.AddAnnotText()
everything works fine (returns true and annotation is added/visible). But if i try to use
Page.AddAnnotText()
with a document opened via
Document.OpenMem()
it returns false and no annotation is added.

What should i do?

Thanks, Alex

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

Last edit: by alexander.gustke.

Page.AddAnnotText() returns false 3 years 8 months ago #8598

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
OpenMem pass a fixed size byte array to native library,. it can't be saved.
u can use PDFMemStream and Document.OpenStream to add annotations.
The following user(s) said Thank You: alexander.gustke

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

Page.AddAnnotText() returns false 3 years 8 months ago #8600

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Thanks a lot :) - that was the solution.

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

  • Page:
  • 1
Powered by Kunena Forum