MindFusion.Wpf Pack Programmer's Guide
VisioExporter.Export Method (DiagramDocument, String)
See Also
 





Creates a Visio XML Drawing file representing the specified DiagramDocument object.

Namespace: MindFusion.Diagramming.Wpf.Export
Assembly: MindFusion.Diagramming.Wpf.VisioExport

 Syntax

C#  Copy Code

public void Export (
    DiagramDocument diagramDoc,
    string vdxPathName
)

Visual Basic  Copy Code

Public Sub Export( _
    diagramDoc As DiagramDocument, _
    vdxPathName As String _
)

 Parameters

diagramDoc

A reference to the document to be exported.

vdxPathName

Full path to the exported Visio .vdx file.

 Remarks

Each DiagramPage in the document is exported to an individual Visio page. The title of the Visio page is set to DiagramPage.Title.

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.

 See Also

Export Method Overload List
VisioExporter Members
VisioExporter Class
MindFusion.Diagramming.Wpf.Export Namespace