Click or drag to resize
DigitalRuneThemeHelperParseVector2F Method
Converts the specified string representation of a 2-dimensional vector to its Vector2F equivalent, or throws an exception if the string cannot be converted to a Vector2F.

Namespace: DigitalRune.Game.UI.Rendering
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public static Vector2F ParseVector2F(
	string value
)

Parameters

value
Type: SystemString
The value. If this value is or an empty string, Zero is returned as the default value.

Return Value

Type: Vector2F
The Vector2F.
Exceptions
ExceptionCondition
FormatException Cannot convert value to Vector2F.
See Also