TryParse
Size.TryParse method
Converts the string representation of a size to its class equivalent. A return value indicates whether the conversion is succeeded or failed.
public static bool TryParse(string s, out Size size)
| Parameter | Type | Description |
|---|---|---|
| s | String | A string containing a size to convert. |
| size | Size& | When the method returns, it contains the instance of Size class that is equivalent to the value specified in s parameter, if the conversion is succeeded; otherwise, null. |
Return Value
true if s is converted successfully; otherwise, false.
See Also
- class Size
- namespace GroupDocs.Parser.Data
- assembly GroupDocs.Parser