Saves FlowChartX diagrams into XML files.
VB6
![]() |
---|
Public Class XMLWriter |
C++
![]() |
---|
class XMLWriter |
The XmlWriter class provides a way to save FlowChartX diagrams as XML documents. To save a diagram, create an instance of XmlWriter, set its Document property and invoke the Write or WriteToString methods. Diagrams saved that way can be loaded later using an XmlReader instance.
If you need VariantTag objects associated with diagram elements to be serialized, you must handle the SerializeTag event. Its event handler receives as an argument the object whose tag is to be serialized.
The following sample saves a diagram as an XML document:
VB6
![]() |
---|
Dim w As New XMLWriter |