ToStringSpecified
Leave feedback
On this page
Returns a string representation of this length in specified unit type. Numeric value will be converted in corresponding to unit type change.
public string ToStringSpecified(Unit unit)
| Parameter | Type | Description |
|---|---|---|
| unit | Unit | Specified unit, to which this instance should be converted before serializing to the string. Should be valid. Cannot be unitless. |
String representation
| exception | condition |
|---|---|
| InvalidEnumArgumentException | Value is not defined |
| ArgumentOutOfRangeException | Unitless value is prohibited |
- enum Unit
- struct Length
- namespace GroupDocs.Editor.HtmlCss.Css.DataTypes
- assembly GroupDocs.Editor
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.