Presentation
Vue de l’ensemble
‘Presentation’ est une classe dans Aspose.Slides FOSS pour .NET. Inhérite de: ‘IPresentations’, ‘IDisposable’.
Il est présenté dans un document de présentation Microsoft PowerPoint.
Cette classe fournit 16 méthodes pour travailler avec les objets de présentation dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Dispose’, ‘Presentation’, Save'. Tous les membres publics sont accessibles à n'importe quelle application .Net après l'installation du pack Aspose.Slides FOSS pour .net. Propriétés: AsIPresentationsComponent, CommentAuthors,CurrentDateTime;DocumentProperties; FirstSliideNumber` et 7 autres.
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.Slides - référence API d’entreprise