Package: mlreportgen.ppt
Create a Microsoft PowerPoint presentation container
Use an object of the mlreportgen.ppt.Presentation
class to create a
PowerPoint® presentation container.
The mlreportgen.ppt.Presentation
class is a handle
class.
ConstructOnLoad | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
creates a presentation container and sets the presentationObj
= mlreportgen.ppt.Presentation()OutputPath
property to the default full path for the output presentation file. The default path is
the current folder and the default file name is untitled
. The
TemplatePath property is set to the full path of the default PPT API
template.
creates a presentation container with the presentationObj
= mlreportgen.ppt.Presentation(outputPath
)OutputPath
property set to the value of outputPath
.
also sets the TemplatePath property to the value of presentationObj
= mlreportgen.ppt.Presentation(outputPath
,templatePath
)templatePath
. Use
this syntax when you want to use a custom template.
If the outputPath
and the templatePath
arguments specify the same presentation, the specified presentation becomes the template
for the new presentation. When the new presentation is generated, it replaces the original
presentation.