API Reference
Class
BorderWidthExtensions
Extension methods for BorderWidth enum.
Inheritance
- Object
- BorderWidthExtensions
Methods
public static String ToCssValue(BorderWidth width, String customValue = null) #Returns:
StringConverts the BorderWidth enum to its CSS pixel value.
Parameters
- width HtmlForgeX.Email.BorderWidth
- The border width enum value.
- customValue System.String = null
- Custom value to use when BorderWidth.Custom is specified.
Returns
The CSS pixel value as a string.