User`s guide

mlreportgen.dom.Underline class
12-335
mlreportgen.dom.Underline class
Package: mlreportgen.dom
Draw line under text
Description
Draw line under text
Construction
underline = Underline() draws a single line under text.
underline = Underline(type) draws a line of the specified type under the text.
underline = Underline(type,color) draws a line of the specified type and color
under the text. The color parameter must be a mlreportgen.dom.Color object.
Input Arguments
type — Style of underline
string
String specifying the style of the underline. Valid strings are:
Applies To
String Description
DOCX HTML
'single' Single underline X X
'double' Double underline X
'words' Words only underlined (not spaces) X
'thick' Thick underline X
'dotted' Dotted underline X
'dottedHeavy' Thick, dotted underline X