Hello World 示例

Hello World 示例

Aspose.Diagram for .NET has rich features to create, open, edit and convert Microsoft Visio files using C# and other .NET languages. It supports a wide set of Visio file formats including VSDX, VDX, VSD, VSX, VTX, VSSX, VSDM, VSSM, VSTM, VDW, VSS, and VST. In addition, it provides the capability to convert Visio Diagrams to a number of formats such as PDF, HTML, XML, SVG, and XAML.

安装 Aspose.Diagram for .NET在您的环境中,可以使用以下步骤查看 Aspose.Diagram API 在 .NET 应用程序中的使用情况。

  1. 实例化一个 Diagram 对象
  2. 使用Diagram类对象的Save方法将文件保存到光盘

The following code snippet is a Hello World program to exhibit the working of Aspose.Diagram for .NET API.