Presentation Members
A non-visual component that allows you to generate presentations from scratch and manipulate existing presentations in PPTX format.Constructors
| Name | Description |
|---|---|
| Presentation() | Initializes a new instance of the Presentation class. |
| Presentation(Byte[]) | Initializes a new instance of the Presentation class with specified settings. |
| Presentation(Stream) | Initializes a new instance of the Presentation class with specified settings. |
Properties
| Name | Description |
|---|---|
| DefaultTextStyle | Gets or sets the default text style for the presentation. |
| DocumentProperties | Obtains presentation document properties. |
| FirstSlideNumber | Gets or sets the starting number for slide numbering in the presentation. |
| HeaderFooterManager | Returns the HeaderFooter manager that allows you to add footer text, date, and slide numbers to its associated presentation. |
| IsDisposed | Indicates whether the presentation has been disposed of. |
| NotesMaster | Gets or sets the Notes Master that is a shared layout for all notes in the presentation. The Notes Master contains visual parameters (location on a slide, text format settings, background, and so on) for headers, footers, and notes. |
| SlideMasters | Returns the presentation collection of Slide Masters. The Slide Master is a top-level template slide that you can use as a base for other slides. |
| Slides | Returns the presentation’s collection of slides. |
| SlideSize | Gets or sets the slide size and orientation. |
| ViewProperties | Gets the presentation view properties. |
Methods
| Name | Description |
|---|---|
| BeginUpdate() | Locks the Presentation object until the Presentation.EndUpdate method is called. |
| Dispose() |
Releases resources associated with the Presentation instance.
|
| EndUpdate() | Unlocks the Presentation object after you call BeginUpdate. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| ExportToPdf(Stream, PdfExportOptions) | Exports the presentation as a PDF file to the specified stream. Allows you to specify PDF export options. The stream should be readable and writable. |
| ExportToPdf(Stream) | Exports the presentation as a PDF file to the specified stream. The stream should be readable and writable. |
| GetActualShapeBounds(Slide, FilledShape) | Returns the size of the shape on the specified slide. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| Print() | Prints presentation to the default printer. |
| Print(PrintOptions) | Prints the presentation with specified print options. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| SaveDocument() | Saves the presentation to a byte array. |
| SaveDocument(Stream) | Saves the presentation to a stream. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also