mlreportgen.utils.rptviewer class

Package: mlreportgen.utils
Superclasses:

Report document viewer manager

Construction

mlreportgen.utils.rptviewer manages report document viewers.

Methods

open

Open the appropriate viewer for filename.

mlreportgen.utils.rptviewer.open(filename)

close

Close the viewer associated with filename .

mlreportgen.utils.rptviewer.close(filename)

isOpen

Test whether filename is assigned to a viewer.

mlreportgen.utils.rptviewer.isOpen(filename)

closeAll

Close all open viewers.

mlreportgen.utils.rptviewer.closeAll()

Examples

Open File in Appropriate Viewer

mlreportgen.utils.rptviewer('mydoc.pdf')

Introduced in R2018b