Merge VSX

How to merge VSX files in C#

GroupDocs.Merger allows developers to merge VSX files when it’s needed to organize multiple VSX files into single document or send fewer attachments etc. And you can do this without¬†any third-party software or manual work involved. With GroupDocs.Merger it is possible to combine VSX documents of any size and structure - all text, images, tables, graphs, forms and other content will be preserved.

The following example demonstrates how to merge VSX files with several lines of C# code:

  • Create an instance of Merger class and pass source VSX file path as a constructor parameter. You may specify absolute or relative file path as per your requirements.
  • Add another VSX file to merge with Join method. Repeat this step for other VSX documents you want to merge.
  • Call Merger class Save method and specify the filename for the merged VSX file as parameter.
// Load the source VSX file
using (Merger merger = new Merger(@"c:\sample1.vsx"))
{
    // Add another VSX file to merge
    merger.Join(@"c:\sample2.vsx");
    // Merge VSX files ans save result
    merger.Save(@"c:\merged.vsx");
}

About VSX File Format

Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio. VSX files are saved in XML file format and was supported till Visio 2013. These are different than the primary VSDX file format that was introduced with Microsoft Visio 2013. VSX files can be opened in any text editor to view the contents.

Code Examples

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!

Merge VSX Live Demo

GroupDocs.Merger for .NET provides an online VSX Merger App, which allows you to try it for free and check its quality and accuracy.

“Merge VSX”