How to export to PDF without hyperlinks?

Started by Thomas Winkel, September 10, 2014, 07:47:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Winkel

Hi,

I am using the ExportAsFixedFormat method for PDF export.
We have shapes with hyperlinks to local PDF documents that I do not want in my PDF exports.

Is there any way to prevent shape these hyperlinks from being exported?

Regards,
Thomas

Paul Herber

Hyperlinks have an "Invisible" cell, if this is true then the hyperlink is not exported. A few lines of VBA can set all hyperlinks invisible, do your export, then set the visibility back to normal.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Thomas Winkel

Thanks, Paul.
Not as easy as hoped, but it will work for me.

Regards,
Thomas

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

zhuravsky

Another way - set behavior of hyperlink as "Non-printable"

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

zhuravsky

Right click->Format->Behavior->Miscellaneous
ShapeSheet -> Miscellaneous->NonPrinting

Paul Herber

But surely that stops the whole shape from printing, not just the hyperlink.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/