Presentation

Overview

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

Represents a Microsoft PowerPoint presentation document.

This class provides 16 methods for working with Presentation objects in .NET programs. Available methods include: Dispose, Presentation, Save. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: AsIPresentationComponent, CommentAuthors, CurrentDateTime, DocumentProperties, FirstSlideNumber, Images, and 7 more.

Properties

NameTypeAccessDescription
CurrentDateTimeDateTimeRead/WriteGets or sets the current date time.
SlidesISlideCollectionReadGets the slides.
NotesSizeINotesSizeReadGets the notes size.
LayoutSlidesIGlobalLayoutSlideCollectionReadGets the layout slides.
MastersIMasterSlideCollectionReadGets the masters.
SectionsISectionCollectionReadGets the sections.
CommentAuthorsICommentAuthorCollectionReadGets the comment authors.
DocumentPropertiesIDocumentPropertiesReadGets the document properties.
ImagesIImageCollectionReadGets the images.
SourceFormatSourceFormatReadGets the source format.
FirstSlideNumberintRead/WriteGets or sets the first slide number.
AsIPresentationComponentIPresentationComponentReadGets the as i presentation component.
PresentationIPresentation?ReadGets the presentation.

Methods

SignatureDescription
Presentation()Creates a new empty presentation from a minimal PPTX template.
Presentation(loadOptions: ILoadOptions)Creates a new empty presentation with the specified load options.
Presentation(stream: Stream)Loads a presentation from the specified stream.
Presentation(stream: Stream, loadOptions: ILoadOptions)Loads a presentation from the specified stream with load options.
Presentation(file: string)Loads a presentation from the specified file path.
Presentation(file: string, loadOptions: ILoadOptions)Loads a presentation from the specified file path with load options.
Save(fname: string, format: SaveFormat)Saves to a file using the format and additional save options
Save(stream: Stream, format: SaveFormat)Calls Save(stream, format) on this Presentation instance.
Save(fname: string, format: SaveFormat, options: ISaveOptions)Calls Save(fname, format, options) on this Presentation instance.
Save(stream: Stream, format: SaveFormat, options: ISaveOptions)Calls Save(stream, format, options) on this Presentation instance.
Save(fname: string, slides: int[], format: SaveFormat)Calls Save(fname, slides, format) on this Presentation instance.
Save(fname: string, slides: int[], format: SaveFormat, options: ISaveOptions)Calls Save(fname, slides, format, options) on this Presentation instance.
Save(stream: Stream, slides: int[], format: SaveFormat)Calls Save(stream, slides, format) on this Presentation instance.
Save(stream: Stream, slides: int[], format: SaveFormat, options: ISaveOptions)Calls Save(stream, slides, format, options) on this Presentation instance.
Save(options: ISaveOptions)Calls Save(options) on this Presentation instance.
Dispose()Releases resources used by this presentation.

See Also