Author Topic: How to remove document structure tags by default?  (Read 304 times)

0 Members and 1 Guest are viewing this topic.

hana

  • Jr. Member
  • **
  • Posts: 15
How to remove document structure tags by default?
« on: July 25, 2022, 09:47:47 PM »
I want to export Visio documents as PDFs but don't want the document structure tags on.  I know I can uncheck the box each time I wish to convert the document, but is there a way of making this the default?
I'm also curious why would you want a black outline around an image like that?

https://ibb.co/nDY0y7J


Surrogate

  • Hero Member
  • *****
  • Posts: 1630
    • ShapeSheet™ Knowledge Base
Re: How to remove document structure tags by default?
« Reply #1 on: July 25, 2022, 10:20:30 PM »
I know I can uncheck the box each time I wish to convert the document, but is there a way of making this the default?
In Visio you can export document to PDF/XPS format via code with ExportAsFixedFormat method. This method have parameters: ColorAsBlack, IncludeBackground and IncludeStructureTags. Each of these parameters have default value, which is TRUE.
You can write simple one line macro like as in the example for change these parameters...
« Last Edit: July 26, 2022, 05:57:31 AM by Surrogate »