Search
Visio2013Exporter.Export Method (Diagram, String)
See Also
 





Creates a Visio .vsdx file representing the specified Diagram.

Namespace: MindFusion.Diagramming.Export
Assembly: MindFusion.Diagramming.Export.Visio

 Syntax

C#  Copy Code

public void Export (
    Diagram diagram,
    string filePath
)

Visual Basic  Copy Code

Public Sub Export( _
    diagram As Diagram, _
    filePath As String _
)

 Parameters

diagram

A Diagram instance.

filePath

The full path to the exported Visio .vsdx file.

 Remarks

The exported document contains a single page, as big as the scrollable diagram area set in Bounds.

To run properly, this method requires the Visio2013.vxt file to be present in the application's directory, or its full path to be assigned to TemplatePath. That file contains an XML template data used by the component to construct Visio documents.

 See Also