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

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.

méthodes

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.

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français