Back to Devexpress

Presentation Members

officefileapi-devexpress-dot-docs-dot-presentation-dot-presentation-dot-underscore-members.md

latest9.9 KB
Original Source

Presentation Members

A non-visual component that allows you to generate presentations from scratch and manipulate existing presentations in PPTX format.

Constructors

NameDescription
Presentation()Initializes a new instance of the Presentation class.
Presentation(Byte[], DocumentFormat)Initializes a new instance of the Presentation class with specified settings.
Presentation(Byte[])Initializes a new instance of the Presentation class with specified settings.
Presentation(Stream, DocumentFormat)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

NameDescription
DefaultTextStyleGets or sets the default text style for the presentation.
DocumentPropertiesObtains presentation document properties.
FirstSlideNumberGets or sets the starting number for slide numbering in the presentation.
HeaderFooterManagerReturns the HeaderFooter manager that allows you to add footer text, date, and slide numbers to its associated presentation.
IsDisposedIndicates whether the presentation has been disposed of.
NotesMasterGets 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.
SlideMastersReturns 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.
SlidesReturns the presentation’s collection of slides.
SlideSizeGets or sets the slide size and orientation.
ViewPropertiesGets the presentation view properties.

Methods

NameDescription
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) staticDetermines 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.
ExportTheme(Stream)Exports the presentation theme to the specified stream.
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.
FindText(String, TextSearchOptions)Searches the presentation (including all shapes, notes, and tables) for all occurrences of the specified text, using the provided search options.
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.
LoadTheme(Stream)Loads a presentation theme from the specified stream.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ModifyTextProperties(IList<TextSearchInfo>, TextProperties)Applies text properties to the given text ranges. Properties to apply should not be null.
Print()Prints presentation to the default printer.
Print(PrintOptions)Prints the presentation with specified print options.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RemoveText(IList<TextSearchInfo>)Removes specified text ranges from the presentation (from shapes, notes, and tables).
ReplaceText(IList<TextSearchInfo>, String)Replaces the specified text ranges with new text throughout the presentation, including shapes, notes, and tables.
ReplaceText(String, String, TextSearchOptions)Replaces all occurrences of the specified text with new text throughout the presentation, including shapes, notes, and tables.
SaveDocument()Saves the presentation to a byte array.
SaveDocument(DocumentFormat)Saves the presentation in the specified format to a byte array.
SaveDocument(Stream, DocumentFormat)Saves the presentation in the specified format to the given stream.
SaveDocument(Stream)Saves the presentation to a stream.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

Presentation Class

DevExpress.Docs.Presentation Namespace