Convert Diagram

About Diagram File Format

Microsfot Visio comes as part of Microsoft Office suite and is used for diagramming and vector drawing applications. It is used to create several different types of diagrams including flow charts, UML diagrams, network diagrams, and alot of others.

Visio file formats include file types such as VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM file format that is saved to disc when user creates a project in Microsoft Visio and saves it to disc.

Convert from Diagram

With GroupDocs.Conversion you can easily convert your diagram document into another file format.
For example VSDX to PDF conversion code snippet will look like this:

// Load the source VSDX file
using (Converter converter = new Converter("sample.vsdx"))
{
    // Set the convert options for PDF format
    PdfConvertOptions options = new PdfConvertOptions();
    // Convert to PDF format
    converter.Convert("converted.pdf", options);
}

Put it simply - you just load a diagram file into Converter, select desired output format and all the rest will be done by GroupDocs.Conversion.

Convert to other diagram format

On the other hand, converting your diagram files to another diagram format is also quite simple and natural. The following code sample demonstrates how to convert VSDX document to VDW in C# using GroupDocs.Conversion.

// Load the source VSDX file
using (Converter converter = new Converter("sample.vsdx"))
{
    // Set the convert options for VDW format
    var options = new DiagramConvertOptions {
        Format = DiagramFileType.Vdw;
    };
    // Convert to VDW format
    converter.Convert("converted.vdw", options);
}

© Aspose Pty Ltd 2001-2022. All Rights Reserved.