RadaeePDF.com :: Topic: Hide annotation (1/2)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Hide annotation

Hide annotation 4 years 4 months ago #3021

  • BeApp
  • BeApp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 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 4 months ago #3023

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

Hide annotation 4 years 4 months ago #3028

  • BeApp
  • BeApp's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Thanks, that's exactly that i wanted !
The topic has been locked.

Hide annotation 4 years 2 weeks ago #4415

  • itrjwyss
  • itrjwyss's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
But Global.hideAnnots(true); is a private method, is impossible access to it.
Last Edit: 4 years 2 weeks ago by xzibit68.
The topic has been locked.

Hide annotation 4 years 2 weeks ago #4421

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 711
  • Thank you received: 49
  • Karma: 18
Change it from private to public
The topic has been locked.

Hide annotation 3 years 9 months ago #5051

  • bsautere
  • bsautere's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 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