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 = show(pptapp)

hide

Hide PowerPoint application

pptapp = hide(pptapp)

close

Close PowerPoint application

pptapp = close(pptapp)

isOpen

Test if PowerPoint application is open

pptapp = isOpen(pptapp)

isVisible

Test if PowerPoint application is visible

pptapp = isVisible(pptapp)

netobj

Return a .NET PowerPoint application object

netpptappobj = netobj(pptapp)

Examples

Find and Hide PowerPoint Application Instance

pptapp = mlreportgen.utils.PPTApp.instance();
hide(pptapp)
Introduced in R2018b