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

TOPIC:

Page.AddAnnotText() returns false 10 years 2 months ago #8587

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 10 years 2 months ago #8598

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
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 10 years 2 months ago #8600

  • alexander.gustke
  • alexander.gustke's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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