Presentation Class

Represents a Microsoft PowerPoint presentation.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesPresentation

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
public sealed class Presentation : IPresentation, 
	IPresentationComponent, IDisposable

The Presentation type exposes the following members.

Constructors
  NameDescription
Public methodPresentation
This constructor creates new presentation from scratch. Created presentation has one empty slide.
Public methodCode examplePresentation(Stream)
This constructor is the primary mechanism for reading an existing Presentation.
Public methodCode examplePresentation(String)
This constructor gets a source file path from which the contents of the Presentation are read.
Public methodPresentation(LoadOptions)
This constructor creates new presentation from scratch. Created presentation has one empty slide.
Public methodPresentation(Stream, LoadOptions)
This constructor is the primary mechanism for reading an existing Presentation.
Public methodPresentation(String, LoadOptions)
This constructor gets a source file path from which the contents of the Presentation are read.
Properties
  NameDescription
Public propertyAllCustomXmlParts
Returns all custom data parts in the presentaion. Read-only ICustomXmlPart[].
Public propertyAudios
Returns the collection of all embedded audio files in the presentation. Read-only IAudioCollection.
Public propertyCommentAuthors
Returns the collection of comments autors. Read-only ICommentAuthorCollection.
Public propertyCurrentDateTime
Returns or sets date and time which will substitute content of datetime fields. Time of this Presentation object creation by default. Read/write DateTime.
Public propertyCustomData
Returns the presentation's custom data. Read-only ICustomData.
Public propertyDefaultTextStyle
Returns default text style for shapes. Read-only ITextStyle.
Public propertyCode exampleDigitalSignatures
Returns the collection of signatures used to sign the presentation. Read-only IDigitalSignatureCollection.
Public propertyDocumentProperties
Returns DocumentProperties object which contains standard and custom document properties. Read-only IDocumentProperties.
Public propertyFirstSlideNumber
Represents the first slide number in the presentation
Public propertyFontsManager
Returns fonts manager. Read-only IFontsManager.
Public propertyHeaderFooterManager
Returns actual HeaderFooter manager. Read-only IPresentationHeaderFooterManager.
Public propertyHyperlinkQueries
Provides easy access to all hyperlinks contained in all presentation slides (not in master, layout, notes slides). Read-only IHyperlinkQueries.
Public propertyImages
Returns the collection of all images in the presentation. Read-only IImageCollection.
Public propertyLayoutSlides
Returns a list of all layout slides that are defined in the presentation. Read-only IGlobalLayoutSlideCollection.
Public propertyMasterHandoutSlideManager
Returns handout master manager. Read-only IMasterHandoutSlideManager.
Public propertyMasterNotesSlideManager
Returns notes master manager. Read-only IMasterNotesSlideManager.
Public propertyMasters
Returns a list of all master slides that are defined in the presentation. Read-only IMasterSlideCollection.
Public propertyMasterTheme
Returns master theme. Read-only IMasterTheme.
Public propertyNotesSize
Returns notes slide size object. Read-only INotesSize.
Public propertyProtectionManager
Gets manager of the permissions for this presentation. Read-only IProtectionManager.
Public propertySections
Returns a list of all slides sections that are defined in the presentation. Read-only ISectionCollection.
Public propertySlides
Returns a list of all slides that are defined in the presentation. Read-only ISlideCollection.
Public propertySlideSize
Returns slide size object. Read-only ISlideSize.
Public propertySourceFormat
Returns information about from which format presentation was loaded. Read-only SourceFormat.
Public propertyVbaProject
Gets or sets VBA project with presentation macros. Read/write IVbaProject.
Public propertyVideos
Returns the collection of all embedded video files in the presentation. Read-only IVideoCollection.
Public propertyViewProperties
Gets presentation wide view properties. Read-only IViewProperties.
Methods
  NameDescription
Public methodDispose
Releases all resources used by this Aspose.Slides.Pptx.PrentationEx object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetSlideById
Returns a Slide, MasterSlide or LayoutSlide by Id.
Public methodGetThumbnails(INotesCommentsLayoutingOptions) Obsolete.
Returns a Thumbnail Bitmap objects for all slides of a presentation.
Public methodGetThumbnails(IRenderingOptions)
Returns a Thumbnail Bitmap objects for all slides of a presentation.
Public methodGetThumbnails(INotesCommentsLayoutingOptions, Size) Obsolete.
Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.
Public methodGetThumbnails(INotesCommentsLayoutingOptions, Int32) Obsolete.
Returns a Thumbnail Bitmap objects for specified slides of a presentation.
Public methodGetThumbnails(IRenderingOptions, Size)
Returns a Thumbnail Bitmap objects for all slides of a presentation with specified size.
Public methodGetThumbnails(IRenderingOptions, Int32)
Returns a Thumbnail Bitmap objects for specified slides of a presentation.
Public methodGetThumbnails(INotesCommentsLayoutingOptions, Int32, Size) Obsolete.
Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.
Public methodGetThumbnails(INotesCommentsLayoutingOptions, Single, Single) Obsolete.
Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.
Public methodGetThumbnails(IRenderingOptions, Int32, Size)
Returns a Thumbnail Bitmap objects for specified slides of a presentation with specified size.
Public methodGetThumbnails(IRenderingOptions, Single, Single)
Returns a Thumbnail Bitmap objects for all slides of a presentation with custom scaling.
Public methodGetThumbnails(INotesCommentsLayoutingOptions, Int32, Single, Single) Obsolete.
Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.
Public methodGetThumbnails(IRenderingOptions, Int32, Single, Single)
Returns a Thumbnail Bitmap objects for specified slides of a presentation with custom scaling.
Public methodGetType (Inherited from Object.)
Public methodJoinPortionsWithSameFormatting
Joins runs with same formatting in all paragraphs in all acceptable shapes in all slides.
Public methodPrint
Prints the whole presentation to the default printer.
Public methodPrint(PrinterSettings)
Prints the presentation according to the specified printer settings, using the standard (no User Interface) print controller.
Public methodPrint(String)
Print the whole presentation to the specified printer, using the standard (no User Interface) print controller.
Public methodPrint(PrinterSettings, String)
Prints the document according to the specified printer settings, using the standard (no User Interface) print controller and a presentation name.
Public methodSave(Stream, SaveFormat)
Saves all slides of a presentation to a stream in the specified format.
Public methodSave(String, SaveFormat)
Saves all slides of a presentation to a file with the specified format.
Public methodSave(Stream, SaveFormat, ISaveOptions)
Saves all slides of a presentation to a stream in the specified format and with additional options.
Public methodSave(Stream, Int32, SaveFormat)
Saves specified slides of a presentation to a stream in the specified format with page number keeping.
Public methodSave(String, SaveFormat, ISaveOptions)
Saves all slides of a presentation to a file with the specified format and with additional options.
Public methodSave(String, Int32, SaveFormat)
Saves specified slides of a presentation to a file with the specified format with page number keeping.
Public methodSave(Stream, Int32, SaveFormat, ISaveOptions)
Saves specified slides of a presentation to a stream in the specified format with page number keeping.
Public methodSave(String, SaveFormat, HttpResponse, Boolean)
Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.
Public methodSave(String, Int32, SaveFormat, ISaveOptions)
Saves specified slides of a presentation to a file with the specified format with page number keeping.
Public methodSave(String, SaveFormat, ISaveOptions, HttpResponse, Boolean)
Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.
Public methodToString (Inherited from Object.)
See Also