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

Not showing hyperlinks in PDF files

More
10 years 9 months ago #8812 by jrosseel
Hello,

We have PDF files with lots of hyperlinks in them. The library seems to show those in light blue. See attachment.

How can we avoid that these get shown as we don;t allow someone to click/tap on them anyway.
More
10 years 9 months ago #8814 by Davide
Hi,
you can use annotation.RemoveFromPage() to remove annotation.
You should re-render page to display modified data.
This method is valid in professional or premium version.
More
10 years 9 months ago #8817 by jrosseel
So you mean that before displaying we would have to walk through the document, and remove all hyperlink "annotations". That's annoying.

I'd rather have a global option to not display these (or even all) annotations (we handle annotations in a different layer anyway, not inside the PDF).
More
10 years 9 months ago #8818 by Davide
Hi,
if you don't want to remove them, you can set transparent background color to the links.

You have to:
Code:
setAnnotTransparency(0x00000000);
in default_config() method of Global class.
Time to create page: 0.404 seconds
Powered by Kunena Forum