MindFusion.Charting for WPF Programmer's Guide
XmlSerializationContext.WriteRectangle Method
See Also
 





Writes a System.Drawing.Rectangle as a System.Xml.XmlElement object with the specified name and the specified parent.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public XmlElement WriteRectangle (
    Rect rectangle,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteRectangle( _
    rectangle As Rect, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

rectangle

The System.Drawing.Rectangle to write.

elementName

The name of the new element.

parentElement

The parent of the new element.

 Return Value

The newly created System.Xml.XmlElement.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Charting.Wpf Namespace