IPresentation
Overview
IPresentation is a class in Aspose.Slides FOSS for .NET.
Inherits from: IPresentationComponent.
Represents a presentation document.
This class provides 9 methods for working with IPresentation objects in .NET programs.
Available methods include: 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 |
|---|---|---|---|
Presentation | IPresentation? | Read | Gets the presentation. |
CurrentDateTime | DateTime | Read/Write | Gets or sets the date and time used to substitute content of datetime fields. |
Slides | ISlideCollection | Read | Gets the collection of all slides defined in the presentation. |
NotesSize | INotesSize | Read | Gets the notes slide size object for this presentation. |
LayoutSlides | IGlobalLayoutSlideCollection | Read | Gets the collection of all layout slides defined in the presentation. |
Masters | IMasterSlideCollection | Read | Gets the collection of all master slides defined in the presentation. |
Sections | ISectionCollection | Read | Gets the collection of all sections in the presentation. |
CommentAuthors | ICommentAuthorCollection | Read | Gets the collection of comment authors. |
DocumentProperties | IDocumentProperties | Read | Gets the document properties (metadata) of the presentation. |
Images | IImageCollection | Read | Gets the collection of all images embedded in the presentation. |
SourceFormat | SourceFormat | Read | Gets the format the presentation was loaded from. |
FirstSlideNumber | int | Read/Write | Gets or sets the first slide number in the presentation. |
AsIPresentationComponent | IPresentationComponent | Read | Returns this instance as an IPresentationComponent. |
Methods
| Signature | Description |
|---|---|
Save(fname: string, format: SaveFormat) | Saves the presentation to a file in the specified format. |
Save(stream: Stream, format: SaveFormat) | Saves the presentation to a stream in the specified format. |
Save(fname: string, format: SaveFormat, options: ISaveOptions) | Saves the presentation to a file with the specified format and options. |
Save(stream: Stream, format: SaveFormat, options: ISaveOptions) | Saves the presentation to a stream with the specified format and options. |
Save(fname: string, slides: int[], format: SaveFormat) | Saves specific slides to a file in the specified format. |
Save(fname: string, slides: int[], format: SaveFormat, options: ISaveOptions) | Saves specific slides to a file with the specified format and options. |
Save(stream: Stream, slides: int[], format: SaveFormat) | Saves specific slides to a stream in the specified format. |
Save(stream: Stream, slides: int[], format: SaveFormat, options: ISaveOptions) | Saves specific slides to a stream with the specified format and options. |
Save(options: ISaveOptions) | Saves the presentation using the specified options object. |