FromNumber
FontWeight.FromNumber method
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 |
Return Value
New FontWeight instance or exception
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException | Specified number is out from [1..1000] range |
See Also
- struct FontWeight
- namespace GroupDocs.Editor.HtmlCss.Css.Properties
- assembly GroupDocs.Editor