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





Creates a Visio XML Drawing file representing the specified NetDiagram diagram.

Namespace: MindFusion.Diagramming.Export
Package: MindFusion.Diagramming.Export.Visio

 Syntax

C#  Copy Code

public void Export (
    Diagram diagram,
    string vdxPathName
)

Visual Basic  Copy Code

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

 Parameters

diagram

A reference to the diagram to be exported.

vdxPathName
The full path to the exported Visio .vdx file.

 Remarks

The exported document contains a single page, as big as the NetDiagram scrollable diagram area. The Visio page dimension and items size measure unit is set to the diagram's MeasureUnit.

To run properly, this method requires the VisioExport.vxt file to be present in the application's directory. That file contains an XML template data used by the component to construct Visio documents.

 See Also