Merge VDX

How to merge VDX files in C#

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

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

About VDX File Format

Any drawing or chart created in Microsoft Visio, but saved in XML format has a VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Microsoft Visio has the capability to generate visual documents that can be used in presentations and documents. The Visio drawing XML file contains the visual objects and metadata details of the visual elements.

Code Examples

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

Merge VDX Live Demo

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

“Merge VDX”