How can I change an existing link annotation to have Invisible Rectangle?

105 views
Skip to first unread message

Support

unread,
Jul 29, 2009, 8:33:12 PM7/29/09
to PDFTron PDFNet SDK
Q: How can I change an existing annotation to have a Link Type of
Invisible Rectangle? I tried it all and I cannot seem to work around
this issue, any help is much appreciated.

-----
A: You probably want to set the border width in annotation's border
style dictionary to zero. For example:

Annot.BorderStyle bs = annot.GetBorderStyle(); bs.width = 0;
annot.SetBorderStyle(bs);

or

annot.SetBorderStyle(new Annot.BorderStyle
(Annot.BorderStyle.Style.e_solid, 0, 0, 0));
Reply all
Reply to author
Forward
0 new messages