constants HTMLFormatEnum
The HTMLFormatEnum type specifies the HTML attribute you can access/request by the FormatSelection property. The FormatSelection property formats programmatically the selection. The HTMLFormatEnum type supports the following values:

NameValueDescription
exHTMLFormatNone0 No format is applied to the current selection.
exHTMLFormatBold1 Displays the current selection in bold. (boolean expression, apply to selection)
exHTMLFormatItalic2 Shows the current selection in italics. (boolean expression, apply to selection)
exHTMLFormatStrikeout3 Strike-through the current selection. (boolean expression, apply to selection)
exHTMLFormatUnderline4 Underlines the current selection. (boolean expression, apply to selection)
exHTMLFormatHyperlink5 Adds/Removes the hyperlink to/from the current selection. (boolean expression, apply to selection)
exHTMLFormatHyperlinkID6 Specifies the identifier of the hyperlink for the current selection. (string expression, apply to selection)
exHTMLFormatHyperlinkOptions7 Specifies the options of the hyperlink for the current selection. (string expression, apply to selection)
exHTMLFormatAlign8 Aligns the current selection ( long expression, 0 for left, 1 for center, and 2 for right, apply to selection)
exHTMLFormatLine9 Shows a line over the current selection ( long expression, 0 for no line, 1 for solid- line, and 2 for dot-line, apply to selection or cursor position)
exHTMLFormatLineUp10 Specifies whether the line is shown up or down ( boolean expression, apply to selection or cursor position)
exHTMLFormatImage11 Inserts image to current selection ( long expression, that indicates the 1-index of the icon in the Images collection, or a string expression that specifies the key of the picture to be inserted ( HTMLPicture property ) .
exHTMLFormatImageSize12 Changes the size of the current image ( long expression, apply to selection)
exHTMLFormatForeColor13 Applies a foreground color for the current selection. ( long expression, or an empty expression to clear the current foreground color, apply to selection)
exHTMLFormatBackColor14 Applies a background color for the current selection. ( long expression, or an empty expression to clear the current foreground color, apply to selection)
exHTMLFormatFont15 Specifies the font for the current selection. (string expression, indicating the name of the font, apply to selection)
exHTMLFormatFontSize16 Specifies the size of the font for the current selection. ( long expression, apply to selection )
exHTMLFormatOffset17 Specifies the vertical offset to display the current selection.  ( long expression, apply to selection )
exHTMLFormatGradient18 Specifies the color for decorative effect/gradient of the current selection. ( long expression, or an empty expression to clear the current gradient color, apply to selection)
exHTMLFormatGradientMode19 Specifies the mode for decorative effect/gradient of the current selection. (long expression, 0 for Horizontal, 1 for Vertical ( default ), 2 for ForwardDiagonal, 3 for BackwardDiagonal, apply to selection)
exHTMLFormatGradientBlend20 Specifies the blend for decorative effect/gradient of the current selection. (boolean expression, apply to selection)
exHTMLFormatOutline21 Specifies the color for decorative effect/outline of the current selection. ( long expression, or an empty expression to clear the current gradient color, apply to selection)
exHTMLFormatOutlineWidth22 Specifies the width for decorative effect/outline of the current selection. (long expression)
exHTMLFormatShadow23 Specifies the color for decorative effect/shadow of the current selection. ( long expression, or an empty expression to clear the current gradient color, apply to selection)
exHTMLFormatShadowWidth24 Specifies the width for decorative effect/shadow of the current selection. (long expression)
exHTMLFormatShadowOffset25 Specifies the offset for decorative effect/shadow of the current selection. (long expression)
exHTMLFormatRemove48 exHTMLFormatRemove. Removes the formatting of the current selection.