FromLength
FontSize.FromLength method
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 |
Return Value
New FontSize instance
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Font size value is unit-less or negative |
See Also
- struct Length
- struct FontSize
- namespace GroupDocs.Editor.HtmlCss.Css.Properties
- assembly GroupDocs.Editor