Main Content

Presentation Format Basics

Specify formatting for presentation

Specify presentation formatting by using a PowerPoint® presentation template, along with PPT API format objects and properties. See Presentation Formatting Approaches.


getMasterNamesGet names of slide masters for presentation
getLayoutNamesGet names of layouts for presentation slide master
openOpen presentation
closeClose presentation
pptviewOpen Microsoft PowerPoint presentation or convert it to PDF
rptviewDisplay report or presentation


expand all

mlreportgen.ppt.PresentationCreate a Microsoft PowerPoint presentation container
mlreportgen.ppt.SlidePresentation slide
mlreportgen.ppt.BackgroundColorBackground color of presentation element
mlreportgen.ppt.BoldBold for text object
mlreportgen.ppt.FontColorFont color
mlreportgen.ppt.FontFamilyFont family
mlreportgen.ppt.FontSizeFont size
mlreportgen.ppt.HAlignHorizontal alignment of paragraph
mlreportgen.ppt.ItalicItalic for text object
mlreportgen.ppt.StrikeStrikethrough text
mlreportgen.ppt.SubscriptSubscript text
mlreportgen.ppt.SuperscriptSuperscript text
mlreportgen.ppt.UnderlineUnderline text


Presentation Formatting Approaches

Format a presentation by using style sheets, format objects, or format properties.

Set Up a PowerPoint Presentation Template

A PowerPoint template specifies the fixed content and default layout and appearance of the slides in a presentation.

Access PowerPoint Template Elements

The PPT API uses PowerPoint presentations as templates to generate presentations.

Presentation Format Inheritance

The PPT API allows you to use a PowerPoint template and PPT API format objects and properties to format presentation objects.

Define a Style Using Format Objects

Create an array of formats, such as color, font family, and font size, that specify the appearance of a paragraph or other content object.

Use Format Properties

Most PPT API presentation objects (such as a Paragraph object) include properties that you can use to set the format of the content of an object.