DiagramLite Programmer's Guide
XmlPersistContext.ReadSizeF Method
See Also
 





Reads a Size object with the specified name.

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

 Syntax

C#  Copy Code

public Size ReadSizeF (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadSizeF( _
    elementName As String, _
    parentElement As XElement _
) As Size

 Parameters

elementName
The name of the element containing the System.Windows.Size object.
parentElement

The parent element of the node with the specified name.

 Return Value

A System.Windows.Size object. Returns Size.Empty if there is no element with the specified name under the specified parent.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace