mlreportgen.utils.PPTApp class

Package: mlreportgen.utils
Superclasses:

Wrap PowerPoint application

Construction

mlreportgen.utils.PPTApp wraps a PowerPoint® application as a .NET object. Only one PowerPoint application object can be active to use this utility. To obtain the active PowerPoint application object, use the instance method.

Methods

instance

Return active PowerPoint application object

pptapp = mlreportgen.utils.PPTApp.instance()

show

Show PowerPoint application

pptapp = mlreportgen.utils.PPTApp.show(pptapp)

hide

Hide PowerPoint application

pptapp = mlreportgen.utils.PPTApp.hide(pptapp)

close

Close PowerPoint application

pptapp = mlreportgen.utils.PPTApp.close(pptapp)

isOpen

Test if PowerPoint application is open

pptapp = mlreportgen.utils.PPTApp.isOpen(pptapp)

isVisible

Test if PowerPoint application is visible

pptapp = mlreportgen.utils.PPTApp.isVisible(pptapp)

netobj

Return a .NET PowerPoint application object

netpptappobj = pptapp = mlreportgen.utils.PPTApp.netobj(pptapp)

Examples

Find and Hide PowerPoint Application Instance

pptapp = mlreportgen.utils.PPTApp.instance();
hide(pptapp)

Introduced in R2018b