Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Page.AddAnnotText() returns false

More
11 years 3 weeks ago - 11 years 3 weeks ago #8587 by alexander.gustke
Hello,

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

What should i do?

Thanks, Alex
Last edit: 11 years 3 weeks ago by alexander.gustke.
More
11 years 2 weeks ago #8598 by radaee
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.
More
11 years 2 weeks ago #8600 by alexander.gustke
Thanks a lot :) - that was the solution.
Time to create page: 0.403 seconds
Powered by Kunena Forum