Convert Visio to PDF format
Exporting to PDF
Aspose.Diagram for Python via Java directly writes the information about the API and Version Number in output documents. For example, upon rendering a Drawing to PDF, Aspose.Diagram for Java populates Applicationchamp avec la valeur ‘Aspose.Diagram’ etPDF Producerchamp avec une valeur, par exemple ‘Aspose.Diagram 17.9’.
Please note that you cannot instruct Aspose.Diagram for Python via Java to change or remove this information from output Documents.
This article explains how to export a Microsoft Visio diagram to PDF using Aspose.Diagram for Python via Java.
Utilisez le constructeur de la classe Diagram pour lire les fichiers diagram et la méthode Save pour exporter le diagram vers n’importe quel format d’image pris en charge.
Le VSD diagram is the example drawing file to export PDF. You can use other diagram formats (VSS, VSSX, VSSM, VDX, VST, VSTX, VSTM, VDX, VTX or VSX) as well.
To export VSD diagram to PDF:
- Créez une instance de la classe Diagram.
- Call the Diagram classs Save method and set the output format to PDF.
Exporting to PDF Programming Sample
Fractionner plusieurs pages
Aspose.Diagram for Java allows splitting multiple pages while converting the Microsoft Visio Diagram to PDF. The following code snippet shows the functionality.