Contains methods that can help you serialize and deserialize NetDiagram items to end from XML documents.
The following tables list the members exposed by the XmlPersistContext type.
Name | Description | |
---|---|---|
Initializes a new instance of the XmlPersistContext class. |
Name | Description | |
---|---|---|
Specifies the latest file format revision number. |
Name | Description | |
---|---|---|
Gets or sets the base URI of the XML document being loaded or saved. When not specified, the BaseURI of the underlying XmlDocument is used. |
||
Gets the class version of the currently deserialized item. |
||
Gets the underlying diagram object. |
||
Gets the format revision number for the file being currently serialized. |
||
Gets or sets a value specifies whether properties that have their default value should be serialized to XML. |
||
Gets the underlying XML document. |
Name | Description | |
---|---|---|
Overloaded. |
||
Converts the specified path from relative to the BaseURI to an absolute path. |
||
Reads an AnchorPattern with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
Reads a byte value with the specified name. |
||
Reads a char value with the specified name. |
||
Overloaded. |
||
Reads a color array with the specified name. |
||
Reads a decimal value with the specified name. |
||
Reads a double value with the specified name. |
||
Overloaded. Reads a NodeEffect object. |
||
Overloaded. |
||
Overloaded. |
||
Reads a float array with the specified name. |
||
Overloaded. |
||
Reads a group object with the specified name. |
||
Reads a hash or traits table object with the specified name. |
||
Reads an Image object with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
Reads a long value with the specified name. |
||
Reads a MapContent object with the specified name. |
||
Reads a NodeConstraints object with the specified name. |
||
Reads an object with the specified name. |
||
Overloaded. Reads a MindFusion.Drawing.Pen object with the specified name. |
||
Reads a PointCollection object with the specified name. |
||
Reads a List<PointF> object with the specified name. |
||
Overloaded. |
||
Reads a RectangleF object with the specified name. |
||
Reads a 8-bit signed integer value with the specified name. |
||
Reads a Shape object with the specified name. |
||
Overloaded. |
||
Reads a Size object with the specified name. |
||
Reads a stream with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
Reads a Style object with the specified name. |
||
Reads a SVG object with the specified name. |
||
Reads the specified tag for the specified object. |
||
Reads a Theme object with the specified name. |
||
Reads a Thickness object with the specified name. |
||
Reads an unsigned integer value with the specified name. |
||
Reads an unsigned long value with the specified name. |
||
Reads an unsigned short value with the specified name. |
||
Reads a Visio content with the specified name. |
||
Returns the child node with the specified name. |
||
Returns the child nodes with the specified name. |
||
Converts the specified absolute path to a path relative to the BaseURI. |
||
Writes the specified anchor pattern. |
||
Writes a boolean value with the specified name. |
||
Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization. |
||
Write a byte value with the specified name. |
||
Write a char value with the specified name. |
||
Writes the specified color. |
||
Writes the specified array. |
||
Write a decimal value with the specified name. |
||
Writes a double value with the specified name. |
||
Writes a reference to the specified effect. The effect is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified enum value. |
||
Writes a float value with the specified name. |
||
Writes the specified array. |
||
Writes the specified font. |
||
Writes the specified group object. |
||
Writes the specified hashtable. |
||
Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization. |
||
Writes an integer value with the specified name. |
||
Writes a reference to the specified item with the specified name. |
||
Writes a long value with the specified name. |
||
Writes a reference to the specified MapContent. The map is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified object under the specified name. |
||
Writes the specified pen. |
||
Writes the specified point collection. |
||
Writes the specified List<PointF>. |
||
Overloaded. |
||
Writes a RectangleF with the specified name. |
||
Write a 8-bit signed integer value with the specified name. |
||
Writes the specified shape with the specified name. |
||
Writes a short value with the specified name. |
||
Writes a Size with the specified name. |
||
Writes the specified stream. |
||
Writes a string value with the specified name. |
||
Writes the specified StringFormat object. |
||
Writes a reference to the specified style. The style is registered within the internal hashtable for subsequent serialization. |
||
Writes a reference to the specified SVG. The SVG is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified tag of the specified object. |
||
Writes the specified Theme object. |
||
Writes a Thickness with the specified name. |
||
Writes the specified traits hashtable. |
||
Writes an unsigned integer value with the specified name. |
||
Writes an unsigned long value with the specified name. |
||
Writes an unsigned short value with the specified name. |
||
Writes a reference to the specified Visio content. The content is registered within the internal hashtable for subsequent serialization. |