SizeTypeConverter.ConvertFromInvariantString(String) Method

Definition

Converts a string of the form $"{width},{height}" to a Size object.

public override object ConvertFromInvariantString (string value);
override this.ConvertFromInvariantString : string -> obj

Parameters

value
System.String

A string that must have two values parseable as System.Double objects, separated by a comma.

Returns

System.Object

A Size object corresponding to the values in .

Applies to