FromLength
Leave feedback
On this page
Creates a font-size from specified length
public static FontSize FromLength(Length length)
| Parameter | Type | Description |
|---|---|---|
| length | Length | A length value, cannot be unitless or negative |
New FontSize instance
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Font size value is unit-less or negative |
- struct Length
- struct FontSize
- namespace GroupDocs.Editor.HtmlCss.Css.Properties
- 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.