Convert Visio to PDF format

Export to PDF

This article explains how to export a Microsoft Visio diagram to PDF using Aspose.Diagram for Python via .NET API.

Verwenden Sie den Klassenkonstruktor [Diagram], um die diagram-Dateien zu lesen, und die Save-Methode, um diagram in ein beliebiges unterstütztes Bildformat zu exportieren.

The image below shows the VSD diagram that the code snippets below export PDF. You can use other diagram formats (VSS, VSSM, VDX, VST, VSTX, VDX, VTX or VSX) as well.

Die Quelldatei.
todo: Bild_alt_Text

To export VSD diagram to PDF:

  1. Erstellen Sie eine Instanz der Klasse Diagram.
  2. Call the Diagram classs Save method and set the output format to PDF.

Below is an image of the output PDF file.

Die Ausgabedatei PDF.
todo: Bild_alt_Text

Export Microsoft Visio Drawing to PDF

The code samples show how to export Microsoft Visio Drawing to PDF using Python.