[]
        
(Showing Draft Content)

C1.Interop.Rect.Parse

Parse Method

Parse(string, out Rect, bool)

Converts a string to a Rect structure.

Declaration
public static bool Parse(string s, out Rect result, bool throwException)
Parameters
Type Name Description
string s

The string to convert.

Rect result

OUT: the created Rect structure.

bool throwException

Indicates whether an exception should be thrown if the string cannot be converted.

Returns
Type Description
bool

true if no error occurred, false otherwise (if throwException is false).