Merge VSSM

How to merge VSSM files in C#

GroupDocs.Merger allows developers to merge VSSM files when it’s needed to organize multiple VSSM 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 VSSM 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 VSSM files with several lines of C# code:

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

About VSSM File Format

Files with .VSSM extension are Microsoft Visio Stencil files that support provide support for macros. A VSSM file when opened allows running the macros to achieve the desired formatting and placement of shapes in a diagram. In general, Microsoft Visio is drawing software that allows creating files that can contain and represent user-defined information in different shapes.

Code Examples

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

Merge VSSM Live Demo

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

“Merge VSSM”