Class PresentationBuilder
- Namespace
- MarkMyDeck.OpenXml
- Assembly
- MarkMyDeck.dll
Manages the creation and manipulation of OpenXML PowerPoint presentations.
public class PresentationBuilder
- Inheritance
-
objectPresentationBuilder
Constructors
PresentationBuilder(Stream, ConversionOptions?, bool)
public PresentationBuilder(Stream outputStream, ConversionOptions? options = null, bool leaveOpen = false)
Parameters
outputStreamStreamoptionsConversionOptionsleaveOpenbool
Properties
Options
public ConversionOptions Options { get; }
Property Value
PresentationDocument
public PresentationDocument PresentationDocument { get; }
Property Value
PresentationPart
public PresentationPart PresentationPart { get; }
Property Value
SlideCount
Gets the number of slides in the presentation.
public int SlideCount { get; }
Property Value
- int
Methods
AddSlide()
Creates a new slide and returns the SlideManager for it.
public SlideManager AddSlide()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Save()
Saves the presentation.
public void Save()
SetDocumentProperties(string?, string?, string?)
Sets presentation metadata properties.
public void SetDocumentProperties(string? title = null, string? author = null, string? subject = null)
Parameters
titlestringauthorstringsubjectstring