DiagramLite Programmer's Guide
XmlPersistContext.WriteShape Method
See Also
 





Writes the specified shape with the specified name.

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

 Syntax

C#  Copy Code

public XElement WriteShape (
    Shape shape,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteShape( _
    shape As Shape, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

shape

The Shape that is written.

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