Package: mlreportgen.dom
Superclasses:
Size and orientation of pages in Microsoft Word document
Note
mlreportgen.dom.DOCXPageSize
will be removed in a future
release. Use mlreportgen.dom.PageSize
instead.
Specifies the height, width, and orientation of pages in a section of a Microsoft® Word document.
creates a
page size object having default values of 8.5-by-11 inches and portrait
orientation.docxPageSizeObj
= DOCXPageSize()
creates a portrait page having a specified height and width.docxPageSizeObj
= DOCXPageSize(height
,width
)
creates a page having a specified height, width, and orientation.docxPageSizeObj
= DOCXPageSize(height
,width
,orientation
)