API Reference
Enum
FontWeight
Common font-weight values mapped to numeric CSS representations.
Inheritance
- Enum
- FontWeight
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property EmailTableCell.FontWeight
- Property EmailTableCondition.FontWeight
- Property EmailTableConditionGroup.FontWeight
- Field FontWeight.Black
- Field FontWeight.Bold
- Field FontWeight.ExtraBold
- Field FontWeight.ExtraLight
- Field FontWeight.Light
- Field FontWeight.Medium
- Field FontWeight.Normal
- Field FontWeight.SemiBold
- Field FontWeight.Thin
Accepted by parameters
- Method EmailBlockquote.WithFontWeight
- Method EmailButton.WithFontWeight
- Method EmailHeading.WithFontWeight
- Method EmailLink.WithFontWeight
- Method EmailListItem.WithFontWeight
- Method EmailPreformatted.WithFontWeight
- Method EmailTableCell.WithFontWeight
- Method EmailTableCondition.WithFontWeight
- Method EmailTableConditionGroup.WithFontWeight
- Method EmailText.WithFontWeight
- Extension method FontWeight.EnumToString
- Extension method FontWeight.ToCssValue
- Method FontWeightExtensions.EnumToString
- Method FontWeightExtensions.ToCssValue
- Method ITextElement.WithFontWeight
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.Email.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.Email.FontWeight