Presentation

Overview

Presentation is a class in Aspose.Slides FOSS for Python. Inherits from: StrictAttributes, IPresentation, IPresentationComponent.

Represents a Microsoft PowerPoint presentation.

This class declares 10 methods for Presentation objects in Python programs. Available methods include: __enter__, __exit__, __init__, __setattr__, dispose, save. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_presentation_component, comment_authors, current_date_time, document_properties, first_slide_number, images, and 7 more.

Properties

NameTypeAccessDescription
current_date_timeAnyRead/WriteReturns or sets date and time which will substitute content of datetime fields.
slidesISlideCollectionReadReturns a list of all slides that are defined in the presentation.
notes_sizeINotesSizeReadReturns notes slide size object.
layout_slidesIGlobalLayoutSlideCollectionReadReturns a list of all layout slides that are defined in the presentation.
mastersIMasterSlideCollectionReadReturns a list of all master slides that are defined in the presentation.
comment_authorsICommentAuthorCollectionReadReturns the collection of comment authors.
document_propertiesIDocumentPropertiesReadReturns DocumentProperties object which contains standard and custom document properties.
imagesIImageCollectionReadReturns the collection of all images in the presentation.
master_themeIMasterThemeReadReturns master theme of the presentation.
first_slide_numberintRead/WriteRepresents the first slide number in the presentation
source_formatSourceFormatReadReturns information about from which format presentation was loaded.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
__init__()Initialize a Presentation.
save()Save the presentation to a file or stream.
dispose()Release all resources used by this Presentation object.
__enter__()Enter context manager.
__exit__(exc_type, exc_val, exc_tb)Exit context manager and dispose resources.
__setattr__(name: str, value)Calls setattr(name, value) on this Presentation instance.
save(fname, format)Saves the presentation to a file or stream
save(fname, format, options)Calls save(fname, format, options) on this Presentation instance.
save(fname, slides, format, options)Calls save(fname, slides, format, options) on this Presentation instance.
save(options)Calls save(options) on this Presentation instance.

See Also

 English