HtmlForgeX

API Reference

Enum

HrTextAlignment

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Specifies horizontal rule text alignment options.

Inheritance

  • Enum
  • HrTextAlignment

Values

public const HrTextAlignment Center #

Center the text within the horizontal rule.

Value: 0
public const HrTextAlignment Left #

Left-align the text within the horizontal rule.

Value: 1
public const HrTextAlignment Right #

Right-align the text within the horizontal rule.

Value: 2

Extension Methods

public static String ToClassString(HrTextAlignment alignment) #
Returns: String

Converts the HrTextAlignment value to a CSS class string.

Parameters

alignment HtmlForgeX.HrTextAlignment requiredposition: 0