Click or drag to resize

PresentationDocument Class

Represents a presentation.

This is the root object in the GemBox.Presentation object model.

Inheritance Hierarchy
SystemObject
  GemBox.PresentationPresentationDocument

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1041 (21.3.35.1041)
Syntax
public sealed class PresentationDocument

The PresentationDocument type exposes the following members.

Constructors
  NameDescription
Public methodPresentationDocument
Initializes a new instance of the PresentationDocument class.
Top
Properties
  NameDescription
Public propertyDocumentProperties
Gets the document properties.
Public propertyMasterNotes

Gets or sets the master notes slide that is used as a template for all notes slides.

This value is automatically instantiated when the first notes slide is created with the AddNotes method.

This value can be set only to . Setting this value to will remove the master notes and all the notes from the presentation.

Public propertyMasterSlides
Gets the master slides.
Public propertyModifyProtection
Gets the modification protection settings.
Public propertySlides
Gets the slides.
Public propertySlideShow
Gets the slide show settings.
Public propertySlideSize
Gets the slide size settings.
Public propertyTableStyles
Gets the table styles.
Public propertyThumbnail
Gets or sets the image used to help end-users identify the presentation document.
Top
Methods
  NameDescription
Public methodClone
Makes a deep clone of this PresentationDocument instance.
Public methodConvertToImageSource
Converts single slide specified in options of this PresentationDocument instance to an ImageSource instance.
Public methodConvertToXpsDocument
Converts this PresentationDocument instance to an XpsDocument instance.
Public methodStatic memberLoad(String)
Loads a presentation from a file with the specified path.
Public methodStatic memberLoad(Stream, LoadOptions)
Loads a presentation from the specified stream.
Public methodStatic memberLoad(String, LoadOptions)
Loads a presentation from a file with the specified path.
Public methodPrint
Prints the presentation to the default printer.
Public methodPrint(String)
Prints the presentation to the specified printer.
Public methodPrint(String, PrintOptions)
Prints the presentation to the specified printer according to specified options.
Public methodSave(String)
Saves the presentation to a file with the specified path. Path must include file extension.
Public methodSave(Stream, SaveOptions)
Saves the presentation in the specified stream.
Public methodCode exampleSave(Object, String)
Saves the presentation to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition).
Public methodSave(String, SaveOptions)
Saves the presentation to a file with the specified path.
Public methodCode exampleSave(Object, String, SaveOptions)
Saves the presentation to a System.Web.HttpResponse or System.Web.HttpResponseBase output stream or a System.Net.Http.HttpResponseMessage and sets appropriate HTTP response headers (Content-Type and Content-Disposition).
Public methodSetThumbnail(String, Stream)
Sets the image used to help end-users identify the presentation document.
Public methodSetThumbnail(PictureContentType, Stream)
Sets the image used to help end-users identify the presentation document.
Top
See Also