Presentation

Presentation class

Represents a Microsoft PowerPoint presentation.

The Presentation type exposes the following members:

Constructors

NameDescription
Presentation()This constructor creates new presentation from scratch.
Created presentation has one empty slide.
Presentation(load_options)Initializes a new instance of the Presentation class
Presentation(stream)Initializes a new instance of the Presentation class
Presentation(stream, load_options)Initializes a new instance of the Presentation class
Presentation(file)Initializes a new instance of the Presentation class
Presentation(file, load_options)Initializes a new instance of the Presentation class

Properties

NameDescription
current_date_timeReturns or sets date and time which will substitute content of datetime fields.
Time of this Presentation object creation by default.
Read/write datetime.
header_footer_managerReturns actual HeaderFooter manager.
Read-only IPresentationHeaderFooterManager.
protection_managerGets manager of the permissions for this presentation.
Read-only IProtectionManager.
slidesReturns a list of all slides that are defined in the presentation.
Read-only ISlideCollection.
sectionsReturns a list of all slides sections that are defined in the presentation.
Read-only ISectionCollection.
slide_sizeReturns slide size object.
Read-only ISlideSize.
notes_sizeReturns notes slide size object.
Read-only INotesSize.
layout_slidesReturns a list of all layout slides that are defined in the presentation.
Read-only IGlobalLayoutSlideCollection.
mastersReturns a list of all master slides that are defined in the presentation.
Read-only IMasterSlideCollection.
master_notes_slide_managerReturns notes master manager.
Read-only IMasterNotesSlideManager.
master_handout_slide_managerReturns handout master manager.
Read-only IMasterHandoutSlideManager.
fonts_managerReturns fonts manager.
Read-only IFontsManager.
default_text_styleReturns default text style for shapes.
Read-only ITextStyle.
comment_authorsReturns the collection of comments autors.
Read-only ICommentAuthorCollection.
document_propertiesReturns DocumentProperties object which contains standard and custom document properties.
Read-only IDocumentProperties.
imagesReturns the collection of all images in the presentation.
Read-only IImageCollection.
audiosReturns the collection of all embedded audio files in the presentation.
Read-only IAudioCollection.
videosReturns the collection of all embedded video files in the presentation.
Read-only IVideoCollection.
slide_show_settingsReturns the slide show settings for the presentation.
digital_signaturesReturns the collection of signatures used to sign the presentation.
Read-only IDigitalSignatureCollection.
custom_dataReturns the presentation’s custom data.
Read-only ICustomData.
all_custom_xml_partsReturns all custom data parts in the presentaion.
Read-only ICustomXmlPart[].
vba_projectGets or sets VBA project with presentation macros.
Read/write IVbaProject.
hyperlink_queriesProvides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides).
Read-only IHyperlinkQueries.
view_propertiesGets presentation wide view properties.
Read-only IViewProperties.
first_slide_numberRepresents the first slide number in the presentation
source_formatReturns information about from which format presentation was loaded.
Read-only SourceFormat.
master_themeReturns master theme.
Read-only IMasterTheme.
as_i_disposableReturns IDisposable interface.
Read-only disposable.
as_i_presentation_componentAllows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
presentationReturns the presentation.
Read-only IPresentation.

Methods

NameDescription
save(fname, format)Saves all slides of a presentation to a file with the specified format.
save(stream, format)Saves all slides of a presentation to a stream in the specified format.
save(fname, format, options)Saves specified slides of a presentation to a file with the specified format with page number keeping.
save(stream, format, options)Saves all slides of a presentation to a stream in the specified format and with additional options.
save(options)Saves all slides of a presentation to a set of files representing XAML markup.
save(fname, slides, format)Saves specified slides of a presentation to a file with the specified format with page number keeping.
save(fname, slides, format, options)Saves specified slides of a presentation to a file with the specified format with page number keeping.
save(stream, slides, format)Saves specified slides of a presentation to a stream in the specified format with page number keeping.
save(stream, slides, format, options)Saves specified slides of a presentation to a stream in the specified format with page number keeping.
get_thumbnails(notes_comments_layouting)Returns a Thumbnail Bitmap objects for all slides of a presentation.
get_thumbnails(notes_comments_layouting, slides)Returns a Thumbnail Bitmap objects for specified slides of a presentation.
get_thumbnails(notes_comments_layouting, scale_x, scale_y)Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.
get_thumbnails(notes_comments_layouting, slides, scale_x, scale_y)Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.
get_thumbnails(notes_comments_layouting, image_size)Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.
get_thumbnails(notes_comments_layouting, slides, image_size)Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.
get_thumbnails(options)Returns a Thumbnail Bitmap objects for all slides of a presentation.
get_thumbnails(options, slides)Returns a Thumbnail Bitmap objects for specified slides of a presentation.
get_thumbnails(options, scale_x, scale_y)Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.
get_thumbnails(options, slides, scale_x, scale_y)Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.
get_thumbnails(options, image_size)Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.
get_thumbnails(options, slides, image_size)Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.
print()Prints the whole presentation to the default printer.
print(printer_settings)Prints the presentation according to the specified printer settings,
using the standard (no User Interface) print controller.
print(printer_name)Print the whole presentation to the specified printer,
using the standard (no User Interface) print controller.
print(printer_settings, pres_name)Prints the document according to the specified printer settings, using
the standard (no User Interface) print controller and a presentation name.
get_slide_by_id(id)Returns a Slide, MasterSlide or LayoutSlide by Id.
join_portions_with_same_formatting()Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.

See Also