Search
XmlContext.ReadRectangle Method
See Also
 






Reads a .NET Rectangle value from the element with the specified name.

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

 Syntax

C#  Copy Code

public Rectangle ReadRectangle (
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

elementName

An instance of the .NET XName class that specifies the element to read.

parentElement

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

 Return Value

An instance of the .NET Rectangle structure representing the read rectangle, or RectangleF.Empty if reading has failed.

 See Also