Presentation

Presentation class

Represents a Microsoft PowerPoint presentation.

The Presentation type exposes the following members:

Constructors

Name Description
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

Name Description
current_date_time Returns 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_manager Returns actual HeaderFooter manager.
Read-only IPresentationHeaderFooterManager.
protection_manager Gets manager of the permissions for this presentation.
Read-only IProtectionManager.
slides Returns a list of all slides that are defined in the presentation.
Read-only ISlideCollection.
sections Returns a list of all slides sections that are defined in the presentation.
Read-only ISectionCollection.
slide_size Returns slide size object.
Read-only ISlideSize.
notes_size Returns notes slide size object.
Read-only INotesSize.
layout_slides Returns a list of all layout slides that are defined in the presentation.
Read-only IGlobalLayoutSlideCollection.
masters Returns a list of all master slides that are defined in the presentation.
Read-only IMasterSlideCollection.
master_notes_slide_manager Returns notes master manager.
Read-only IMasterNotesSlideManager.
master_handout_slide_manager Returns handout master manager.
Read-only IMasterHandoutSlideManager.
fonts_manager Returns fonts manager.
Read-only IFontsManager.
default_text_style Returns default text style for shapes.
Read-only ITextStyle.
comment_authors Returns the collection of comments autors.
Read-only ICommentAuthorCollection.
document_properties Returns DocumentProperties object which contains standard and custom document properties.
Read-only IDocumentProperties.
images Returns the collection of all images in the presentation.
Read-only IImageCollection.
audios Returns the collection of all embedded audio files in the presentation.
Read-only IAudioCollection.
videos Returns the collection of all embedded video files in the presentation.
Read-only IVideoCollection.
digital_signatures Returns the collection of signatures used to sign the presentation.
Read-only IDigitalSignatureCollection.
custom_data Returns the presentation’s custom data.
Read-only ICustomData.
all_custom_xml_parts Returns all custom data parts in the presentaion.
Read-only ICustomXmlPart[].
vba_project Gets or sets VBA project with presentation macros.
Read/write IVbaProject.
hyperlink_queries Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides).
Read-only IHyperlinkQueries.
view_properties Gets presentation wide view properties.
Read-only IViewProperties.
first_slide_number Represents the first slide number in the presentation
source_format Returns information about from which format presentation was loaded.
Read-only SourceFormat.
master_theme Returns master theme.
Read-only IMasterTheme.
as_i_disposable Returns IDisposable interface.
Read-only disposable.
as_i_presentation_component Allows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
presentation Returns the presentation.
Read-only IPresentation.

Methods

Name Description
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 all slides of a presentation to a file with the specified format and with additional options.
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