Parse
Size.Parse method
Converts the string representation of a size to its class equivalent.
public static Size Parse(string s)
| Parameter | Type | Description |
|---|---|---|
| s | String | A string that contains a size to convert. |
Return Value
An instance of Size class that is equivalent to the value specified in s parameter.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | s does not represent a size in a valid format. |
See Also
- class Size
- namespace GroupDocs.Parser.Data
- assembly GroupDocs.Parser