Hide annotation - 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
  • 2

TOPIC: Hide annotation

Hide annotation 4 years 7 months ago #3021

  • BeApp
  • BeApp's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Is it possible to hide annotations ?
I use AddAnnotBitmap to add annotation to my pdf.
I understand that i can remove all annotation with "vpage.GetPage().GetAnnot(j).RemoveFromPage();" inside a loop.
But i don't want to delete them, just hide them ! For example with a button to show/hide annot.

Is it possible ?

Thanks
The topic has been locked.

Hide annotation 4 years 7 months ago #3023

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
invoke Global.hideAnnots(true);
but in this way all annotations are hidden.
The topic has been locked.

Hide annotation 4 years 7 months ago #3028

  • BeApp
  • BeApp's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thanks, that's exactly that i wanted !
The topic has been locked.

Hide annotation 4 years 3 months ago #4415

  • itrjwyss
  • itrjwyss's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
But Global.hideAnnots(true); is a private method, is impossible access to it.
Last Edit: by xzibit68.
The topic has been locked.

Hide annotation 4 years 3 months ago #4421

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
Change it from private to public
The topic has been locked.

Hide annotation 4 years 3 weeks ago #5051

  • bsautere
  • bsautere's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I tried to change the method hideAnnots to public in Global.java but got this : java.lang.UnsatisfiedLinkError: Native method not found: com.radaee.pdf.Global.hideAnnots:(Z)V . I use 2.9.7 final.

What worked was modifying method default_config() with an annot transparency of 0x00000000.
The topic has been locked.
  • Page:
  • 1
  • 2
Powered by Kunena Forum