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

Hide annotation

More
IP: 192.168.0.70 12 years 8 months ago #3021 by BeApp
Hide annotation was created by BeApp
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
More
IP: 192.168.0.70 12 years 8 months ago #3023 by radaee
Replied by radaee on topic Hide annotation
invoke Global.hideAnnots(true);
but in this way all annotations are hidden.
More
IP: 192.168.0.70 12 years 8 months ago #3028 by BeApp
Replied by BeApp on topic Hide annotation
Thanks, that's exactly that i wanted !
More
IP: 192.168.0.70 12 years 4 months ago - 12 years 4 months ago #4415 by itrjwyss
Replied by itrjwyss on topic Hide annotation
But Global.hideAnnots(true); is a private method, is impossible access to it.
Last edit: 12 years 4 months ago by xzibit68.
More
IP: 192.168.0.158 12 years 4 months ago #4421 by nermeen
Replied by nermeen on topic Hide annotation
Change it from private to public
More
IP: 192.168.0.70 12 years 1 month ago #5051 by bsautere
Replied by bsautere on topic Hide annotation
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.
Time to create page: 0.388 seconds
Powered by Kunena Forum