API Reference
Class
FontWeightExtensions
Extension methods for the FontWeight enum.
Inheritance
- Object
- FontWeightExtensions
Methods
public static String EnumToString(FontWeight value) #Returns:
StringConverts the enum value to the numeric CSS weight string.
Parameters
- value HtmlForgeX.FontWeight
- Font weight value.
Returns
Numeric CSS representation of the weight.
public static String ToCssValue(FontWeight value) #Returns:
StringConverts the font weight to its CSS representation.
Parameters
- value HtmlForgeX.FontWeight