Skip to main content
Participant
February 12, 2018
Answered

Are there any Inter-application communication API methods to open Visio documents as PDF?

  • February 12, 2018
  • 2 replies
  • 1232 views

I tried to accomplish this using the Open method on the AcroExch.AVDoc object and that did not work. I appreciate any suggestions you may have.

Thanks,

Seenu

This topic has been closed for replies.
Correct answer lrosenth

Acrobat does not support native conversion of Visio

2 replies

Karl Heinz  Kremer
Community Expert
Community Expert
February 13, 2018

You need to convert the Visio document to PDF from within Visio. See here for an appropriate VBA method: Document.ExportAsFixedFormat Method (Visio)

You can also (from within Visio's VBA) print to the Adobe PDF printer, and use the programatic methods to prevent the filename dialog (see here for more information about this: Prevent the Save Dialog when Printing to the Adobe PDF Printer​)

Participant
February 14, 2018

Karl,

Thank you for your suggestions. I am going to look into the ExportAsFixedFormat method and let you know the results. 

Thanks,

Seenu

Thom Parker
Community Expert
Community Expert
February 13, 2018

Can you open a Visio document in Acrobat Directly?  In order for Acrobat to open a non-PDF file, it has to have a conversion for it. If the conversion exists on you system, then you can potentially use it from a script to open the file.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
February 13, 2018

Thom,

Thank you for your response. I cannot open the Visio file in Acrobat directly either. Do I need to have some plug-in for the conversion to happen? I have Adobe Acrobat version XI installed.

Thanks,

Seenu

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
February 13, 2018

Acrobat does not support native conversion of Visio