FromNumber
Leave feedback
On this page
Creates a font-weight from specified number
public static FontWeight FromNumber(ushort number)
| Parameter | Type | Description |
|---|---|---|
| number | UInt16 | Unsigned integer, must be within [1..1000] range |
New FontWeight instance or exception
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Specified number is out from [1..1000] range |
- struct FontWeight
- 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.