parse method
parse
Converts the string representation of a size to its class equivalent.
Returns
An instance of Size class that is equivalent to the value specified in s parameter.
def parse(self, s):
...
| Parameter | Type | Description |
|---|---|---|
| s | System.String | A string that contains a size to convert. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | s does not represent a size in a valid format. |
See Also
- module
groupdocs.parser.data - class
Size