Search
XmlContext.WriteRectangle Method
See Also
 






Writes the specified .NET Rectangle object as an XML element with the specified name and the specified parent.

Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms

 Syntax

C#  Copy Code

public XElement WriteRectangle (
    Rectangle rect,
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteRectangle( _
    rect As Rectangle, _
    elementName As XName, _
    parentElement As XElement _
) As XElement

 Parameters

rect

The .NET Rectangle object to write.

elementName

An instance of the .NET XName class that specifies the name of the new element.

parentElement

An instance of the .NET XElement class that specifies the parent element.

 Return Value

An instance of the .NET XElement class representing the newly created element.

 See Also