To
Leave feedback
On this page
Converts the length to the given unit, if possible. If the current or given unit is relative, then an exception will be thrown.
public float To(Unit unit)
| Parameter | Type | Description |
|---|---|---|
| unit | Unit | The unit to convert to. |
The value in the given unit of the current length.
- 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.