<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: AsposeDiagram</title>
    <description>The latest articles on Forem by AsposeDiagram (@asposediagram).</description>
    <link>https://forem.com/asposediagram</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F104650%2F63d4e2a9-650c-49d9-baab-db4a3df99b87.png</url>
      <title>Forem: AsposeDiagram</title>
      <link>https://forem.com/asposediagram</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/asposediagram"/>
    <language>en</language>
    <item>
      <title>Convert Microsoft Visio Document to JPG in Java</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Sun, 11 Nov 2018 11:10:44 +0000</pubDate>
      <link>https://forem.com/asposediagram/convert-microsoft-visio-document-to-jpg-in-java-2ae6</link>
      <guid>https://forem.com/asposediagram/convert-microsoft-visio-document-to-jpg-in-java-2ae6</guid>
      <description>&lt;p&gt;Developers can convert any Microsoft Visio document to JPG or JPEG (&lt;em&gt;Joint Photographic Experts Group&lt;/em&gt;) in Java using &lt;a href="https://products.aspose.com/diagram" rel="noopener noreferrer"&gt;Aspose.Diagram&lt;/a&gt; which is a light-weight, extensible, easy to use API and helps developers to create, manipulate and convert Microsoft Visio files to various formats on client side and server-side without any need to install Microsoft Visio or using any sort of Microsoft Office automation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both Java and .NET platforms. Please see &lt;a href="https://products.aspose.com/diagram/java" rel="noopener noreferrer"&gt;Aspose.Diagram for Java&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/net" rel="noopener noreferrer"&gt;Aspose.Diagram for .NET&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Sample Microsoft Visio Document - VSDX
&lt;/h1&gt;

&lt;p&gt;For demonstration, we will convert the following &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert-Microsoft-Visio-Document-to-JPG/SampleConvertMicrosoftVisioDocumentToJPEG.vsdx" rel="noopener noreferrer"&gt;sample Microsoft Visio document&lt;/a&gt; to JPG or JPEG in Java using Aspose.Diagram for Java. However, you can use any Microsoft Visio document of your choice inside the sample code and it will also be converted to JPEG fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FConvert-Microsoft-Visio-Document-to-JPG%2FMicrosoft-Visio-Document-be-converted-JPG-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FConvert-Microsoft-Visio-Document-to-JPG%2FMicrosoft-Visio-Document-be-converted-JPG-Aspose.Diagram.png" title="Sample Microsoft Visio Document to be converted to JPG or JPEG using Aspose.Diagram API." alt="Sample Microsoft Visio Document to be converted to JPG or JPEG using Aspose.Diagram API." width="800" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Licensing
&lt;/h1&gt;

&lt;p&gt;Please note, if you will execute the code without prior setting the Aspose.Diagram license, you will get &lt;em&gt;Evaluation Watermark&lt;/em&gt; in your output documents. For more information, please go through &lt;a href="https://docs.aspose.com/display/diagramjava/Licensing" rel="noopener noreferrer"&gt;Licensing&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;The following sample code converts the Microsoft Visio document to JPG or JPEG by performing these steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load Microsoft Visio document to &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object.&lt;/li&gt;
&lt;li&gt;Specify &lt;em&gt;ImageSaveOptions&lt;/em&gt; to set resolution for clear image.&lt;/li&gt;
&lt;li&gt;Save the &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object into JPG format with specified &lt;em&gt;ImageSaveOptions&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output JPG or JPEG of Microsoft Visio Document by Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;The following snapshot shows the &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert-Microsoft-Visio-Document-to-JPG/OutputConvertMicrosoftVisioDocumentToJPEG.jpg" rel="noopener noreferrer"&gt;Output JPG or JPEG of Microsoft Visio Document generated by Aspose.Diagram&lt;/a&gt; with the code given above. As you can see, the JPG looks exactly same as Microsoft Visio document.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FConvert-Microsoft-Visio-Document-to-JPG%2FOutputConvertMicrosoftVisioDocumentToJPEG.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FConvert-Microsoft-Visio-Document-to-JPG%2FOutputConvertMicrosoftVisioDocumentToJPEG.jpg" title="Output JPG or JPEG generated by Aspose.Diagram from Microsoft Visio document." alt="Output JPG or JPEG generated by Aspose.Diagram from Microsoft Visio document." width="800" height="1035"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>visio</category>
      <category>jpg</category>
      <category>diagram</category>
    </item>
    <item>
      <title>Convert Microsoft Visio Document to BMP in C#</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Fri, 09 Nov 2018 10:39:19 +0000</pubDate>
      <link>https://forem.com/asposediagram/convert-microsoft-visio-document-to-bmp-in-c-50d9</link>
      <guid>https://forem.com/asposediagram/convert-microsoft-visio-document-to-bmp-in-c-50d9</guid>
      <description>&lt;p&gt;Developers can convert any Microsoft Visio document to BMP (&lt;em&gt;Bitmap Image File&lt;/em&gt;) in C# (&lt;em&gt;or in any other .NET Framework supported language e.g. VB.NET etc.&lt;/em&gt;) using &lt;a href="https://products.aspose.com/diagram"&gt;Aspose.Diagram&lt;/a&gt; which is a light-weight, extensible, easy to use API and helps developers to create, manipulate and convert Microsoft Visio files to various formats on client side and server-side without any need to install Microsoft Visio or using any sort of Microsoft Office automation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both .NET and Java platforms. Please see &lt;a href="https://products.aspose.com/diagram/net"&gt;Aspose.Diagram for .NET&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/java"&gt;Aspose.Diagram for Java&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Sample Microsoft Visio Document - VSD
&lt;/h1&gt;

&lt;p&gt;For demonstration, we will convert the following &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert-Microsoft-Visio-Document-to-BMP/SampleConvertMicrosoftVisioDocumentToBMP.vsd"&gt;sample Microsoft Visio document&lt;/a&gt; to BMP in C# using Aspose.Diagram for .NET. However, you can use any Microsoft Visio document of your choice inside the sample code and it will also be converted to BMP fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rxXI8Be5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert-Microsoft-Visio-Document-to-BMP/Microsoft-Visio-Document-to-be-convert-BMP-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rxXI8Be5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert-Microsoft-Visio-Document-to-BMP/Microsoft-Visio-Document-to-be-convert-BMP-Aspose.Diagram.png" alt="Sample Microsoft Visio Document to be converted to BMP using Aspose.Diagram API." title="Sample Microsoft Visio Document to be converted to BMP using Aspose.Diagram API."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Licensing
&lt;/h1&gt;

&lt;p&gt;Please note, if you will execute the code without prior setting the Aspose.Diagram license, you will get &lt;em&gt;Evaluation Watermark&lt;/em&gt; in your output documents. For more information, please go through &lt;a href="https://docs.aspose.com/display/diagramnet/Licensing"&gt;Licensing&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;The following sample code converts the Microsoft Visio document to BMP by performing these steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load Microsoft Visio document to &lt;em&gt;Aspose.Diagram.Diagram&lt;/em&gt; object.&lt;/li&gt;
&lt;li&gt;Specify &lt;em&gt;ImageSaveOptions&lt;/em&gt; to set resolution for clear image.&lt;/li&gt;
&lt;li&gt;Save the &lt;em&gt;Aspose.Diagram.Diagram&lt;/em&gt; object into BMP format with specified &lt;em&gt;ImageSaveOptions&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output BMP of Microsoft Visio Document by Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;The following snapshot shows the &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert-Microsoft-Visio-Document-to-BMP/OutputConvertMicrosoftVisioDocumentToBMP.bmp"&gt;Output BMP of Microsoft Visio Document generated by Aspose.Diagram&lt;/a&gt; with the code given above. As you can see, the BMP looks exactly same as Microsoft Visio document.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PkdmbXTY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert-Microsoft-Visio-Document-to-BMP/Snapshot-OutputConvertMicrosoftVisioDocumentToBMP.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PkdmbXTY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert-Microsoft-Visio-Document-to-BMP/Snapshot-OutputConvertMicrosoftVisioDocumentToBMP.png" alt="Output BMP generated by Aspose.Diagram from Microsoft Visio document." title="Output BMP generated by Aspose.Diagram from Microsoft Visio document."&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>visio</category>
      <category>bmp</category>
      <category>diagram</category>
    </item>
    <item>
      <title>Convert Microsoft Visio Document to PNG in Java</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Fri, 19 Oct 2018 14:36:39 +0000</pubDate>
      <link>https://forem.com/asposediagram/convert-microsoft-visio-document-to-png-in-java-135i</link>
      <guid>https://forem.com/asposediagram/convert-microsoft-visio-document-to-png-in-java-135i</guid>
      <description>&lt;p&gt;Developers can convert any Microsoft Visio document to PNG (&lt;em&gt;Portable Network Graphics&lt;/em&gt;) in Java using &lt;a href="https://products.aspose.com/diagram"&gt;Aspose.Diagram&lt;/a&gt; which is a light-weight, extensible, easy to use API and helps developers to create, manipulate and convert Microsoft Visio files to various formats on client side and server-side without any need to install Microsoft Visio or using any sort of Microsoft Office automation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both Java and .NET platforms. Please see &lt;a href="https://products.aspose.com/diagram/java"&gt;Aspose.Diagram for Java&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/net"&gt;Aspose.Diagram for .NET&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Sample Microsoft Visio Document - VSDX
&lt;/h1&gt;

&lt;p&gt;For demonstration, we will convert the following &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20PNG/sampleConvertMicrosoftVisioDocumentToPNG.vsdx"&gt;sample Microsoft Visio document&lt;/a&gt; to PNG in Java using Aspose.Diagram for Java. However, you can use any Microsoft Visio document of your choice inside the sample code and it will also be converted to PNG fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A9DWG4j---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520PNG/Microsoft-Visio-Document-to-be-convert-PNG-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A9DWG4j---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520PNG/Microsoft-Visio-Document-to-be-convert-PNG-Aspose.Diagram.png" alt="Sample Microsoft Visio Document to be converted to PNG using Aspose.Diagram API." title="Sample Microsoft Visio Document to be converted to PNG using Aspose.Diagram API."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Licensing
&lt;/h1&gt;

&lt;p&gt;Please note, if you will execute the code without prior setting the Aspose.Diagram license, you will get &lt;em&gt;Evaluation Watermark&lt;/em&gt; in your output documents. For more information, please go through &lt;a href="https://docs.aspose.com/display/diagramjava/Licensing"&gt;Licensing&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;The following sample code converts the Microsoft Visio document to PNG by performing these steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load Microsoft Visio document to &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object.&lt;/li&gt;
&lt;li&gt;Specify &lt;em&gt;ImageSaveOptions&lt;/em&gt; to set resolution for clear image.&lt;/li&gt;
&lt;li&gt;Save the &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object into PNG format with specified &lt;em&gt;ImageSaveOptions&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output PNG of Microsoft Visio Document by Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;The following snapshot shows the &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20PNG/outputConvertMicrosoftVisioDocumentToPNG.png"&gt;Output PNG of Microsoft Visio Document generated by Aspose.Diagram&lt;/a&gt; with the code given above. As you can see, the PNG looks exactly same as Microsoft Visio document.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3aEhlD1h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520PNG/outputConvertMicrosoftVisioDocumentToPNG.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3aEhlD1h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520PNG/outputConvertMicrosoftVisioDocumentToPNG.png" alt="Output PNG generated by Aspose.Diagram from Microsoft Visio document." title="Output PNG generated by Aspose.Diagram from Microsoft Visio document."&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>visio</category>
      <category>png</category>
      <category>diagram</category>
      <category>java</category>
    </item>
    <item>
      <title>Convert Microsoft Visio Document to PDF in Java</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Fri, 05 Oct 2018 14:10:41 +0000</pubDate>
      <link>https://forem.com/asposediagram/convert-microsoft-visio-document-to-pdf-in-java-4fnh</link>
      <guid>https://forem.com/asposediagram/convert-microsoft-visio-document-to-pdf-in-java-4fnh</guid>
      <description>&lt;p&gt;Developers can convert any Microsoft Visio document to PDF (&lt;em&gt;Portable Document Format&lt;/em&gt;) in Java using &lt;a href="https://products.aspose.com/diagram" rel="noopener noreferrer"&gt;Aspose.Diagram&lt;/a&gt; which is a light-weight, extensible, easy to use API, that helps developers to create, manipulate and convert Microsoft Visio files to various formats on client side and server-side without any need to install Microsoft Visio or using any sort of Microsoft Office automation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both Java and .NET platforms. Please see &lt;a href="https://products.aspose.com/diagram/java" rel="noopener noreferrer"&gt;Aspose.Diagram for Java&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/net" rel="noopener noreferrer"&gt;Aspose.Diagram for .NET&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Sample Microsoft Visio Document - VSDX
&lt;/h1&gt;

&lt;p&gt;For demonstration purpose, we will convert the following &lt;a href="https://github.com/shakeel-faiz/Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20PDF/sampleConvertMicrosoftVisioDocumentToPDF.vsdx" rel="noopener noreferrer"&gt;sample Microsoft Visio document&lt;/a&gt; to PDF in Java using Aspose.Diagram for Java. However, you can use any Microsoft Visio document of your choice inside the sample code and it will also be converted to PDF fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fshakeel-faiz%2FScreenshots-and-Sample-Files%2Fmaster%2FConvert%2520Microsoft%2520Visio%2520Document%2520to%2520PDF%2FMicrosoft-Visio-Document-converted-PDF-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fshakeel-faiz%2FScreenshots-and-Sample-Files%2Fmaster%2FConvert%2520Microsoft%2520Visio%2520Document%2520to%2520PDF%2FMicrosoft-Visio-Document-converted-PDF-Aspose.Diagram.png" title="Sample Microsoft Visio Document to be converted to PDF using Aspose.Diagram API." alt="Sample Microsoft Visio Document to be converted to PDF using Aspose.Diagram API."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Licensing
&lt;/h1&gt;

&lt;p&gt;Please note, if you will execute the code without prior setting the Aspose.Diagram license, you will get &lt;em&gt;Evaluation Watermark&lt;/em&gt; in your output documents. For more information, please go through &lt;a href="https://docs.aspose.com/display/diagramjava/Licensing" rel="noopener noreferrer"&gt;Licensing&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;The following sample code converts the Microsoft Visio document to PDF by performing these steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load Microsoft Visio document to &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object.&lt;/li&gt;
&lt;li&gt;Save the &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt; object into PDF format.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output PDF by Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;The following snapshot shows the &lt;a href="https://github.com/shakeel-faiz/Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20PDF/outputConvertMicrosoftVisioDocumentToPDF.pdf" rel="noopener noreferrer"&gt;Output PDF generated by Aspose.Diagram&lt;/a&gt; with the code given above. As you can see, the PDF looks exactly same as Microsoft Visio document.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fshakeel-faiz%2FScreenshots-and-Sample-Files%2Fmaster%2FConvert%2520Microsoft%2520Visio%2520Document%2520to%2520PDF%2FOutput-PDF-Aspose.Diagram-from-Microsoft-Visio-document.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fshakeel-faiz%2FScreenshots-and-Sample-Files%2Fmaster%2FConvert%2520Microsoft%2520Visio%2520Document%2520to%2520PDF%2FOutput-PDF-Aspose.Diagram-from-Microsoft-Visio-document.png" title="Output PDF generated by Aspose.Diagram from Microsoft Visio document." alt="Output PDF generated by Aspose.Diagram from Microsoft Visio document."&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>visio</category>
      <category>pdf</category>
      <category>diagram</category>
      <category>java</category>
    </item>
    <item>
      <title>Convert Microsoft Visio Document to HTML in C#</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Sun, 30 Sep 2018 07:56:29 +0000</pubDate>
      <link>https://forem.com/asposediagram/convert-microsoft-visio-document-to-html-in-c-1blf</link>
      <guid>https://forem.com/asposediagram/convert-microsoft-visio-document-to-html-in-c-1blf</guid>
      <description>&lt;p&gt;Developers can convert any Microsoft Visio document to HTML (&lt;em&gt;Hypertext Markup Language&lt;/em&gt;) in C# &lt;em&gt;(or in any other .NET Framework supported language e.g. VB.NET etc)&lt;/em&gt; using &lt;a href="https://products.aspose.com/diagram"&gt;Aspose.Diagram&lt;/a&gt; which is a light-weight, extensible, easy to use API, that helps developers to create, manipulate and convert Microsoft Visio files to various formats on client side and server-side without any need to install Microsoft Visio or using any sort of Microsoft Office automation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both .NET and Java platforms. Please see &lt;a href="https://products.aspose.com/diagram/net"&gt;Aspose.Diagram for .NET&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/java"&gt;Aspose.Diagram for Java&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Sample Microsoft Visio Document - VSD
&lt;/h1&gt;

&lt;p&gt;For demonstration purpose, we will convert the following &lt;a href="https://github.com/shakeel-faiz/Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20HTML/sampleConvertMicrosoftVisioDocumentToHTML.vsd"&gt;sample Microsoft Visio document&lt;/a&gt; to HTML in C# using Aspose.Diagram API. However, you can use any Microsoft Visio document of your choice inside the sample code and it will also be converted to HTML fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--sO0bIoxp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/shakeel-faiz/Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520HTML/Microsoft-Visio-Document-converted-HTML-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sO0bIoxp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/shakeel-faiz/Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520HTML/Microsoft-Visio-Document-converted-HTML-Aspose.Diagram.png" alt="Sample Microsoft Visio Document to be converted to HTML using Aspose.Diagram API." title="Sample Microsoft Visio Document to be converted to HTML using Aspose.Diagram API."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Licensing
&lt;/h1&gt;

&lt;p&gt;Please note, if you will execute the code without prior setting the Aspose.Diagram license, you will get &lt;em&gt;Evaluation Watermark&lt;/em&gt; in your output documents. For more information, please go through &lt;a href="https://docs.aspose.com/display/diagramnet/Licensing"&gt;Licensing&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;The following sample code converts the Microsoft Visio document to HTML by performing these steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load Microsoft Visio document to &lt;em&gt;Aspose.Diagram.Diagram&lt;/em&gt; object.&lt;/li&gt;
&lt;li&gt;Save the &lt;em&gt;Aspose.Diagram.Diagram&lt;/em&gt; object into HTML format.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output HTML by Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;The following snapshot shows the &lt;a href="https://github.com/shakeel-faiz/Screenshots-and-Sample-Files/blob/master/Convert%20Microsoft%20Visio%20Document%20to%20HTML/Output%20HTML.zip"&gt;Output HTML generated by Aspose.Diagram&lt;/a&gt; with the code given above. As you can see, the HTML looks exactly same as Microsoft Visio document.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oc0visyL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/shakeel-faiz/Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520HTML/Output-HTML-Aspose.Diagram-from-Microsoft-Visio-document.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oc0visyL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/shakeel-faiz/Screenshots-and-Sample-Files/master/Convert%2520Microsoft%2520Visio%2520Document%2520to%2520HTML/Output-HTML-Aspose.Diagram-from-Microsoft-Visio-document.png" alt="Output HTML generated by Aspose.Diagram from Microsoft Visio document." title="Output HTML generated by Aspose.Diagram from Microsoft Visio document."&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>visio</category>
      <category>html</category>
      <category>diagram</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Manipulate Microsoft Visio file format programmatically in Java</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Thu, 27 Sep 2018 09:56:07 +0000</pubDate>
      <link>https://forem.com/asposediagram/manipulate-microsoft-visio-file-format-programmatically-in-java-20c9</link>
      <guid>https://forem.com/asposediagram/manipulate-microsoft-visio-file-format-programmatically-in-java-20c9</guid>
      <description>&lt;p&gt;&lt;a href="https://products.aspose.com/diagram/java" rel="noopener noreferrer"&gt;Aspose.Diagram&lt;/a&gt; API can be used to open, read, update, change, manipulate and construct Microsoft Visio files and its component parts without the need to install or automate Microsoft Visio application. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The purpose of this article is to explain how to manipulate Microsoft Visio file format programmatically in Java. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Demonstration&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The article demonstrates how to load &lt;strong&gt;Template Microsoft Visio file&lt;/strong&gt; and import some &lt;em&gt;Master Shapes&lt;/em&gt; i.e. Rectangle, Ellipse, Hexagon, Dynamic connector etc. from &lt;strong&gt;Stencil Microsoft Visio file&lt;/strong&gt; and create &lt;em&gt;Normal Shapes&lt;/em&gt; out of them and fill them with colors and formatted text and &lt;em&gt;connect them via Connectors&lt;/em&gt; and save it as &lt;strong&gt;Output Microsoft Visio file&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Install Aspose.Diagram using Maven in Eclipse IDE
&lt;/h1&gt;

&lt;p&gt;In order to execute the sample code, it is recommended that you know how to install Aspose.Diagram using Maven in Eclipse IDE, which has been discussed separately in this article. Please go through it as per your needs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://medium.com/asposediagram/install-aspose-diagram-using-maven-and-create-microsoft-visio-document-in-eclipse-ide-b556cb0d9a5b" rel="noopener noreferrer"&gt;Install Aspose.Diagram using Maven and Create Microsoft Visio Document in Eclipse IDE&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Microsoft Visio Formats Supported By Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;Aspose.Diagram supports all of the Microsoft Visio formats. Some of them are listed below.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;VSD &lt;/strong&gt;— &lt;em&gt;Drawing&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSS &lt;/strong&gt;— &lt;em&gt;Stencil&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VST&lt;/strong&gt; — &lt;em&gt;Template&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSDX&lt;/strong&gt; —&lt;em&gt; OPC/XML Drawing&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSSX &lt;/strong&gt;—&lt;em&gt; OPC/XML Stencil&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSTX&lt;/strong&gt; — &lt;em&gt;OPC/XML Template&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSDM&lt;/strong&gt; — &lt;em&gt;OPC/XML Drawing, macro-enabled&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSSM &lt;/strong&gt;— &lt;em&gt;OPC/XML Stencil, macro-enabled&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSTM&lt;/strong&gt; — &lt;em&gt;OPC/XML Template, macro-enabled&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Input Microsoft Visio Files Used Inside Code
&lt;/h1&gt;

&lt;p&gt;This section presents and explains the input Microsoft Visio files that are used inside the sample code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Template Microsoft Visio File
&lt;/h2&gt;

&lt;p&gt;The sample code manipulates the &lt;strong&gt;Template Microsoft Visio File&lt;/strong&gt; named as &lt;em&gt;&lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Manipulate-Microsoft-Visio-file-format-programmatically/templateManipulateVisioFileUsingAsposeDiagram.vsdx" rel="noopener noreferrer"&gt;templateManipulateVisioFileUsingAsposeDiagram.vsdx&lt;/a&gt;&lt;/em&gt; using Aspose.Diagram. It is shown in the following screenshot. Please note, you can use any Microsoft Visio file as a template and the code should work fine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FTemplate-Microsoft-Visio-file-manipulated-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FTemplate-Microsoft-Visio-file-manipulated-Aspose.Diagram.png" title="Template Microsoft Visio file to be manipulated using Aspose.Diagram." alt="Template Microsoft Visio file to be manipulated using Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Stencil Microsoft Visio File Containing Master Shapes
&lt;/h2&gt;

&lt;p&gt;The code uses &lt;strong&gt;Stencil Microsoft Visio File&lt;/strong&gt; named as &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Manipulate-Microsoft-Visio-file-format-programmatically/SampleMasterShapes.vssx" rel="noopener noreferrer"&gt;&lt;em&gt;SampleMasterShapes.vssx&lt;/em&gt;&lt;/a&gt; containing the sample &lt;strong&gt;Master Shapes&lt;/strong&gt; and imports them inside the template file using Aspose.Diagram. As you can see inside the screenshot, it contains 4 master shapes i.e.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;Rectangle&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Ellipse&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Hexagon&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Dynamic connector&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FStencil-Microsoft-Visio-Master-Shapes-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FStencil-Microsoft-Visio-Master-Shapes-Aspose.Diagram.png" title="Stencil Microsoft Visio file to import Master Shapes using Aspose.Diagram." alt="Stencil Microsoft Visio file to import Master Shapes using Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code
&lt;/h1&gt;

&lt;p&gt;Please execute the following &lt;em&gt;Java sample code&lt;/em&gt; with the provided input Microsoft Visio files. The code performs the following tasks.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load the template Microsoft Visio file inside the Diagram (i.e. &lt;em&gt;com.aspose.diagram.Diagram&lt;/em&gt;) object.&lt;/li&gt;
&lt;li&gt;Access the &lt;em&gt;Page-1&lt;/em&gt; inside the template Microsoft Visio file.&lt;/li&gt;
&lt;li&gt;Import &lt;em&gt;Master Shapes&lt;/em&gt; from &lt;em&gt;stencil&lt;/em&gt; Microsoft Visio file.&lt;/li&gt;
&lt;li&gt;Add &lt;em&gt;Normal Shapes&lt;/em&gt; using Master Shapes and assign them names.&lt;/li&gt;
&lt;li&gt;Access Normal Shapes by their assigned names.&lt;/li&gt;
&lt;li&gt;Fill the Normal Shapes with color and add formatted text inside them.&lt;/li&gt;
&lt;li&gt;Connect the Normal Shapes with each other using &lt;em&gt;Connectors&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Save the Diagram object in Microsoft Visio &lt;em&gt;VSDX&lt;/em&gt; format.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Code is explained well with useful comments and blocks of comments which will help you to understand it easily.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;h1&gt;
  
  
  Output Visio File Generated By Aspose.Diagram
&lt;/h1&gt;

&lt;p&gt;After successful execution of sample code, it generates the &lt;strong&gt;Output Microsoft Visio File&lt;/strong&gt; named as &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Manipulate-Microsoft-Visio-file-format-programmatically/outputManipulateVisioFileUsingAsposeDiagram.vsdx" rel="noopener noreferrer"&gt;&lt;em&gt;outputManipulateVisioFileUsingAsposeDiagram.vsdx&lt;/em&gt;&lt;/a&gt; using Aspose.Diagram as shown in this screenshot.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This implies that you can manipulate Microsoft Visio Documents using Aspose.Diagram efficiently and conveniently.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FOutput-Microsoft-Visio-file-manipulated-by-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FManipulate-Microsoft-Visio-file-format-programmatically%2FOutput-Microsoft-Visio-file-manipulated-by-Aspose.Diagram.png" title="Output Microsoft Visio file generated using Aspose.Diagram." alt="Output Microsoft Visio file generated using Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  See also
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://medium.com/asposediagram/manipulate-microsoft-visio-file-format-programmatically-in-c-84163b579169" rel="noopener noreferrer"&gt;Manipulate Microsoft Visio file format programmatically in C#&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aspose.com/display/diagramjava/Working+with+Diagrams" rel="noopener noreferrer"&gt;Working with Microsoft Visio Diagrams&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aspose-diagram/Aspose.Diagram-for-Java" rel="noopener noreferrer"&gt;Code Examples — Aspose.Diagram for Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>visio</category>
      <category>stencil</category>
      <category>diagram</category>
      <category>connector</category>
    </item>
    <item>
      <title>Install Aspose.Diagram using NuGet and Create Microsoft Visio Document in Visual Studio</title>
      <dc:creator>AsposeDiagram</dc:creator>
      <pubDate>Thu, 27 Sep 2018 09:55:11 +0000</pubDate>
      <link>https://forem.com/asposediagram/install-asposediagram-using-nuget-and-create-microsoft-visio-document-in-visual-studio-5h1</link>
      <guid>https://forem.com/asposediagram/install-asposediagram-using-nuget-and-create-microsoft-visio-document-in-visual-studio-5h1</guid>
      <description>&lt;p&gt;&lt;a href="https://products.aspose.com/diagram" rel="noopener noreferrer"&gt;Aspose.Diagram&lt;/a&gt; API helps developers to work with Microsoft Visio files. They can create, manipulate and convert Visio file formats in their applications without any need to install Microsoft Visio. Aspose.Diagram is a light-weight API and suitable for both client side and server side use. The API is extensible, easy to use, compact and provides common functionality so that developers have to write less code when performing common tasks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported Platforms&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Aspose.Diagram supports both .NET and Java platforms. Please see &lt;a href="https://products.aspose.com/diagram/net" rel="noopener noreferrer"&gt;Aspose.Diagram for .NET&lt;/a&gt; and &lt;a href="https://products.aspose.com/diagram/java" rel="noopener noreferrer"&gt;Aspose.Diagram for Java&lt;/a&gt; for your reference.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Article Description&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In this article, we will install Aspose.Diagram using NuGet and create a Microsoft Visio document using it in Visual Studio.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Aspose.Diagram NuGet Download Link
&lt;/h1&gt;

&lt;p&gt;You can always find the most recent version or earlier versions of Aspose.Diagram from the following NuGet link. Please see its snapshot given below.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.nuget.org/packages/Aspose.Diagram/" rel="noopener noreferrer"&gt;https://www.nuget.org/packages/Aspose.Diagram/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FSnapshot-of-Aspose.Diagram-NuGet-Download-Link.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FSnapshot-of-Aspose.Diagram-NuGet-Download-Link.png" title="Snapshot of Aspose.Diagram NuGet Download Link." alt="Snapshot of Aspose.Diagram NuGet Download Link."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Install Aspose.Diagram using NuGet Pacakage Manager in Visual Studio
&lt;/h1&gt;

&lt;p&gt;In this section, we will create a console application project and install Aspose.Diagram using NuGet Package Manager. We will illustrate all the steps involved with screenshots for your ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Console Application Project
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open Visual Studio. The following screenshot shows Visual Studio 2017 but you can use any Visual Studio.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOpen-Visual-Studio-2017-or-any-other.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOpen-Visual-Studio-2017-or-any-other.png" title="Open Visual Studio 2017 or any other." alt="Open Visual Studio 2017 or any other."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;em&gt;New &amp;gt; Project&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-New-Project.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-New-Project.png" title="Click New &amp;gt; Project." alt="Click New &amp;gt; Project."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select &lt;em&gt;Console App (.NET Framework)&lt;/em&gt; and give it name &lt;em&gt;TestAsposeDiagram&lt;/em&gt; and then click &lt;em&gt;OK&lt;/em&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FSelect-Console-App-%28.NET-Framework%29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FSelect-Console-App-%28.NET-Framework%29.png" title="Select Console App (.NET Framework) and give it name TestAsposeDiagram." alt="Select Console App (.NET Framework) and give it name TestAsposeDiagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Console Application Project&lt;/em&gt; named &lt;em&gt;TestAsposeDiagram&lt;/em&gt; will be created in Visual Studio.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FTestAsposeDiagram-console-application-project-created.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FTestAsposeDiagram-console-application-project-created.png" title="TestAsposeDiagram console application project created." alt="TestAsposeDiagram console application project created."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Install Aspose.Diagram using NuGet Pacakage Manager
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Right click the project inside the &lt;em&gt;Solution Explorer&lt;/em&gt; and click &lt;em&gt;Manage NuGet Packages…&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-Manage-NuGet-Packages-inside-the-Solution-Explorer.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-Manage-NuGet-Packages-inside-the-Solution-Explorer.png" title="Click Manage NuGet Packages inside the Solution Explorer." alt="Click Manage NuGet Packages inside the Solution Explorer."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;em&gt;Browse&lt;/em&gt;, type &lt;em&gt;Aspose.Diagram&lt;/em&gt;, you will see Aspose.Diagram listed, select it and click &lt;em&gt;Install&lt;/em&gt; button.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-Install-Aspose.Diagram-listed-in-NuGet-Packages.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FClick-Install-Aspose.Diagram-listed-in-NuGet-Packages.png" title="Click Install button when Aspose.Diagram is listed in the NuGet Packages." alt="Click Install button when Aspose.Diagram is listed in the NuGet Packages."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Preview Changes&lt;/em&gt; dialog box will appear. Click OK.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FPreview-Changes-dialog-box-will-appear-Click-OK.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FPreview-Changes-dialog-box-will-appear-Click-OK.png" title="Preview Changes dialog box will appear. Click OK." alt="Preview Changes dialog box will appear. Click OK."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;License Acceptance&lt;/em&gt; dialog box will appear. You can view the license and accept it to proceed further.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FLicense-Acceptance-dialog-accept-license-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FLicense-Acceptance-dialog-accept-license-Aspose.Diagram.png" title="License Acceptance dialog box appears, please view and accept the license of Aspose.Diagram." alt="License Acceptance dialog box appears, please view and accept the license of Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;NuGet Pacakage Manager&lt;/em&gt; installs Aspose.Diagram and shows the progress information in &lt;em&gt;Output&lt;/em&gt; window.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FNuGet-installs-Aspose.Diagram-shows-progress-Output-window.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FNuGet-installs-Aspose.Diagram-shows-progress-Output-window.png" title="NuGet Package Manager installs Aspose.Diagram and shows progress in Output window." alt="NuGet Package Manager installs Aspose.Diagram and shows progress in Output window."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On viewing &lt;em&gt;References&lt;/em&gt; in &lt;em&gt;Solution Explorer&lt;/em&gt;, you will find, &lt;em&gt;Aspose.Diagram&lt;/em&gt; is present there as shown in this screenshot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FAspose.Diagram-present-in-References-in-Solution-Explorer.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FAspose.Diagram-present-in-References-in-Solution-Explorer.png" title="Aspose.Diagram is present inside References in Solution Explorer." alt="Aspose.Diagram is present inside References in Solution Explorer."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hover your mouse pointer on &lt;em&gt;Path&lt;/em&gt; inside the &lt;em&gt;Aspose.Diagram Reference Properties&lt;/em&gt; to find the path of DLL and check the &lt;em&gt;Version&lt;/em&gt; number.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FPath-Version-Aspose.Diagram-Properties-Solution-Explorer.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FPath-Version-Aspose.Diagram-Properties-Solution-Explorer.png" title="Path and Version of Aspose.Diagram shown inside assembly Properties inside the Solution Explorer." alt="Path and Version of Aspose.Diagram shown inside assembly Properties inside the Solution Explorer."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;View &lt;em&gt;packages.config&lt;/em&gt; file that displays the Aspose.Diagram NuGet package and its version. You can modify it later on to try other versions of Aspose.Diagram.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FView-packages.config-displays-Aspose.Diagram-NuGet-package.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FView-packages.config-displays-Aspose.Diagram-NuGet-package.png" title="View packages.config file that displays the Aspose.Diagram NuGet package and its version." alt="View packages.config file that displays the Aspose.Diagram NuGet package and its version."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Create Microsoft Visio Document using Aspose.Diagram
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Please first add the following &lt;strong&gt;C# Using Directive&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csharp"&gt;&lt;code&gt;&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="nn"&gt;Aspose.Diagram&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Now add the following &lt;strong&gt;C# code&lt;/strong&gt; in the &lt;em&gt;Main&lt;/em&gt; method and then press &lt;em&gt;F5&lt;/em&gt; or &lt;em&gt;Ctrl + F5&lt;/em&gt; to run it.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The code creates object of &lt;em&gt;Aspose.Diagram.Diagram&lt;/em&gt; class and just saves it as &lt;em&gt;OutputByAsposeDiagram.vsdx&lt;/em&gt;. Please note, &lt;em&gt;VSDX&lt;/em&gt; is the Microsoft Visio format that represents XOPC/XML drawing.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The following screenshot shows the &lt;em&gt;Complete Sample Code&lt;/em&gt; inside the &lt;em&gt;Visual Studio Console Application Project&lt;/em&gt; for your reference.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FCode-Create-Microsoft-Visio-Document-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FCode-Create-Microsoft-Visio-Document-Aspose.Diagram.png" title="Sample Code to Create Microsoft Visio Document using Aspose.Diagram." alt="Sample Code to Create Microsoft Visio Document using Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Output Microsoft Visio Document using Aspose.Diagram
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;After the successful execution of the code, &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Install-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio/OutputByAsposeDiagram.vsdx" rel="noopener noreferrer"&gt;&lt;em&gt;OutputByAsposeDiagram.vsdx&lt;/em&gt;&lt;/a&gt; document will be created inside the output directory.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOutput-Directory-OutputByAsposeDiagram.vsdx-Aspose.Diagram.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOutput-Directory-OutputByAsposeDiagram.vsdx-Aspose.Diagram.png" title="OutputByAsposeDiagram.vsdx created by Aspose.Diagram." alt="OutputByAsposeDiagram.vsdx created by Aspose.Diagram."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Double click the &lt;em&gt;OutputByAsposeDiagram.vsdx&lt;/em&gt; to open it in &lt;strong&gt;Microsoft Visio&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;As you can see in screenshot, the &lt;a href="https://github.com/AsposeDiagram/AsposeDiagram-Screenshots-and-Sample-Files/blob/master/Install-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio/OutputByAsposeDiagram.vsdx" rel="noopener noreferrer"&gt;output Microsoft Visio document&lt;/a&gt; is empty and only showing &lt;strong&gt;Evaluation Warning&lt;/strong&gt; message. It is because we have not set license for Aspose.Diagram. Once, you will set the license, this warning will disappear. Please see the document &lt;a href="https://docs.aspose.com/display/diagramnet/Licensing" rel="noopener noreferrer"&gt;Aspose.Diagram Licensing&lt;/a&gt; for more information about it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOutput-VSDX-Aspose.Diagram-Evaluation-Warning-message.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FAsposeDiagram%2FAsposeDiagram-Screenshots-and-Sample-Files%2Fmaster%2FInstall-Aspose.Diagram-using-NuGet-and-Create-Microsoft-Visio-Document-in-Visual-Studio%2FOutput-VSDX-Aspose.Diagram-Evaluation-Warning-message.png" title="Output VSDX created by Aspose.Diagram showing the Evaluation Warning message." alt="Output VSDX created by Aspose.Diagram showing the Evaluation Warning message."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  See also
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://medium.com/asposediagram/manipulate-microsoft-visio-file-format-programmatically-in-c-84163b579169" rel="noopener noreferrer"&gt;Manipulate Microsoft Visio file format programmatically in C#&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aspose.com/display/diagramnet/Working+with+Shapes" rel="noopener noreferrer"&gt;Working with Microsoft Visio Shapes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://forum.aspose.com/c/diagram" rel="noopener noreferrer"&gt;Forum - Aspose.Diagram Product Family&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>nuget</category>
      <category>visualstudio</category>
      <category>visio</category>
      <category>diagram</category>
    </item>
  </channel>
</rss>
