User`s guide
mlreportgen.dom.DOCXPageSize class
12-99
Properties
Height — Height of pages in Word page layout section
string
String specifying the page height. The string must have the format valueUnits where
Units is an abbreviation for the units in which the width size is expressed. Valid
abbreviations are:
• no abbreviation — pixels
• cm — centimeters
• in — inches
• mm — millimeters
• pi — picas
• pt — points
• px — pixels
Id — ID for document element
string
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
Orientation — Orientation (portrait or landscape) for pages in section
string
Use one of these values:
• 'portrait' (default)
• 'landscape'
Specify height and width values that reflect the orientation setting. For example, if the
orientation is landscape and the document is to be printed on 8.5x11-inch paper, set
height to '8.5in' and width to '11in'.
Tag — Tag for document element
string
Tag for document element, specified as a string.