FromLength
FontSize.FromLength method
Crea un tamaño de fuente a partir de la longitud especificada
public static FontSize FromLength(Length length)
| Parámetro | Escribe | Descripción |
|---|---|---|
| length | Length | Un valor de longitud, no puede ser sin unidades ni negativo |
Valor_devuelto
Nueva instancia de FontSize
Excepciones
| excepción | condición |
|---|---|
| ArgumentOutOfRangeException | El valor del tamaño de fuente no tiene unidades o es negativo |
Ver también
- struct Length
- struct FontSize
- espacio de nombres GroupDocs.Editor.HtmlCss.Css.Properties
- asamblea GroupDocs.Editor