| ThemeHelperParseRectangle Method |
Converts the specified string representation of a rectangle to its
Rectangle
equivalent, or throws an exception if the string cannot be converted to a
Rectangle.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public static Rectangle ParseRectangle(
string value
)
Public Shared Function ParseRectangle (
value As String
) As Rectangle
public:
static Rectangle ParseRectangle(
String^ value
)
static member ParseRectangle :
value : string -> Rectangle
Parameters
- value
- Type: SystemString
The value. If this value is or an empty string, a rectangle is
returned where all values are 0.
Return Value
Type:
Rectangle
The
Rectangle.
Exceptions See Also