API Reference
Enum
FontWeight
Common font-weight values mapped to numeric CSS representations.
Inheritance
- Enum
- FontWeight
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
Extension 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