Create Visio document programmatically

Creating a New Visio Drawing

Aspose.Diagram for .NET lets you read and create Microsoft Visio diagrams from within your own applications, without Microsoft Office Automation. The first step when creating new documents, is to create a diagram. Then add shapes and connectors to build up the diagram.

Create Visio Drawing Programming Sample

The code below shows to create a new Microsoft Visio drawing. Please note that the blank drawing contains a single empty page.