[]
        
(Showing Draft Content)

C1.Interop.Size.Parse

Parse Method

Parse(string, out Size, bool)

Converts a string to a Size structure.

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

The string to convert.

Size result

OUT: the created Size 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).