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
| Name | Type | Access | Description |
|---|---|---|---|
CurrentDateTime | DateTime | Read/Write | Gets or sets the current date time. |
Slides | ISlideCollection | Read | Gets the slides. |
NotesSize | INotesSize | Read | Gets the notes size. |
LayoutSlides | IGlobalLayoutSlideCollection | Read | Gets the layout slides. |
Masters | IMasterSlideCollection | Read | Gets the masters. |
Sections | ISectionCollection | Read | Gets the sections. |
CommentAuthors | ICommentAuthorCollection | Read | Gets the comment authors. |
DocumentProperties | IDocumentProperties | Read | Gets the document properties. |
Images | IImageCollection | Read | Gets the images. |
SourceFormat | SourceFormat | Read | Gets the source format. |
FirstSlideNumber | int | Read/Write | Gets or sets the first slide number. |
AsIPresentationComponent | IPresentationComponent | Read | Gets the as i presentation component. |
Presentation | IPresentation? | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
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. |