Saves FlowChartX diagrams into XML files.
SyntaxVB6
Copy Code
|
|---|
Public Class XMLWriter |
C++
Copy Code
|
|---|
class XMLWriter |
RemarksThe 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.
ExampleThe following sample saves a diagram as an XML document:
VB6
Copy Code
|
|---|
Dim w As New XMLWriter |
See Also