Presentation

Overview

Presentation is a class in Aspose.Slides FOSS for .NET. Inherits from: IPresentation, IDisposable.

Represents a Microsoft PowerPoint presentation document. Supports loading from files, streams, or creating new empty presentations.

Properties

NameTypeAccessDescription
CurrentDateTimeDateTimeRead/WriteGets the current date and time used for placeholders
SlidesISlideCollectionRead
NotesSizeINotesSizeReadGets or sets the size of notes slides
LayoutSlidesIGlobalLayoutSlideCollectionReadAccesses the global layout slide collection
MastersIMasterSlideCollectionReadAccesses the master slide collection
SectionsISectionCollectionReadAccesses the collection of sections in the presentation
CommentAuthorsICommentAuthorCollectionReadAccesses the collection of comment authors
DocumentPropertiesIDocumentPropertiesReadAccesses core, app, and custom document properties
ImagesIImageCollectionReadProvides access to embedded images in the presentation
SourceFormatSourceFormatReadIndicates the original file format of the loaded presentation
FirstSlideNumberintRead/Write
AsIPresentationComponentIPresentationComponentRead

Methods

SignatureDescription
Presentation()Creates a new presentation using the specified load options
Presentation(loadOptions: ILoadOptions)Options controlling load behavior.
Presentation(stream: Stream)A stream containing the presentation data.
Presentation(stream: Stream, loadOptions: ILoadOptions)Options controlling load behavior.
Presentation(file: string)The path to the presentation file.
Presentation(file: string, loadOptions: ILoadOptions)Options controlling load behavior.
Save(fname: string, format: SaveFormat)Saves to a file using the format and additional save options
Save(stream: Stream, format: SaveFormat)
Save(fname: string, format: SaveFormat, options: ISaveOptions)
Save(stream: Stream, format: SaveFormat, options: ISaveOptions)
Save(fname: string, slides: int[], format: SaveFormat)
Save(fname: string, slides: int[], format: SaveFormat, options: ISaveOptions)
Save(stream: Stream, slides: int[], format: SaveFormat)
Save(stream: Stream, slides: int[], format: SaveFormat, options: ISaveOptions)
Save(options: ISaveOptions)
Dispose()Releases resources used by this presentation.