Creates a Visio XML Drawing file representing the specified Diagram.
Namespace: MindFusion.Diagramming.Wpf.Export
Assembly: MindFusion.Diagramming.Wpf.VisioExport
C# Copy Code |
---|
public void Export ( |
Visual Basic Copy Code |
---|
Public Sub Export( _ |
A reference to the diagram that will be exported.
Output System.IO.Stream to which to write the Visio data.
The exported document contains a single page, as big as the 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, or its full path to be assigned to TemplatePath. That file contains an XML template used by the component to construct Visio documents.