DiagramLite Programmer's Guide
XmlPersistContext.WriteRectangleF Method
See Also
 





Writes a RectangleF with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public XElement WriteRectangleF (
    Rect rectangle,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteRectangleF( _
    rectangle As Rect, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

rectangle
The System.Windows.Rect object to write.
elementName

The name of the element under which the object should be written.

parentElement

The parent element of the newly created node.

 Return Value

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace