User`s guide
mlreportgen.dom.FontSize class
12-125
mlreportgen.dom.FontSize class
Package: mlreportgen.dom
Font size
Description
Specifies the size of a font.
Construction
fontSizeObj = FontSize() creates a 12-point font.
fontSizeObj = FontSize(sizeStr) creates the specified font size.
Input Arguments
sizeStr — Font size
'12pt' (default) | string
String having the format valueUnits, where Units is an abbreviation for the units in
which the size is expressed. The following abbreviations are valid:
• no abbreviation — pixels
• cm — centimeters
• in — inches
• mm — millimeters
• pi — picas
• pt — points
• px — pixels
Output Arguments
fontSizeObj — Font size
mlreportgen.dom.FontSize object