User`s guide

mlreportgen.dom.DOCXPageSize class
12-97
mlreportgen.dom.DOCXPageSize class
Package: mlreportgen.dom
Size and orientation of pages in Microsoft Word document
Description
Specifies the height, width, and orientation of pages in a section of a Microsoft Word
document.
Construction
docxPageSizeObj = DOCXPageSize() creates a page size object having default values
of 8.5-by-11 inches and portrait orientation.
docxPageSizeObj = DOCXPageSize(height,width) creates a portrait page having
a specified height and width.
docxPageSizeObj = DOCXPageSize(height,width,orientation) creates a page
having a specified height, width, and orientation.
Input Arguments
height — Height of page
'11in' (default) | string
String specifying the height of the page. 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