User`s guide

12 Classes – Alphabetical List
12-146
mlreportgen.dom.Heading class
Package: mlreportgen.dom
Heading paragraph
Description
Create a heading paragraph.
Construction
headingObj = Heading(level) creates an empty heading at the specified level.
headingObj = Heading(level,text) creates the specified level heading containing
the specified text.
headingObj = Heading(level,text,styleName) creates the specified level heading
containing the specified text and using the specified style.
headingObj = Heading(level,domObj) creates the specified level heading
containing the specified DOM object.
Input Arguments
text — Text string
string
Text to use for the heading.
level — Heading level
numeric value
Heading level, specified as a numeric value.
Data Types: double
styleName — Style for text
string