Table of Contents

Class PresentationBuilder

Namespace
MarkMyDeck.OpenXml
Assembly
MarkMyDeck.dll

Manages the creation and manipulation of OpenXML PowerPoint presentations.

public class PresentationBuilder
Inheritance
object
PresentationBuilder

Constructors

PresentationBuilder(Stream, ConversionOptions?, bool)

public PresentationBuilder(Stream outputStream, ConversionOptions? options = null, bool leaveOpen = false)

Parameters

outputStream Stream
options ConversionOptions
leaveOpen bool

Properties

Options

public ConversionOptions Options { get; }

Property Value

ConversionOptions

PresentationDocument

public PresentationDocument PresentationDocument { get; }

Property Value

PresentationDocument

PresentationPart

public PresentationPart PresentationPart { get; }

Property Value

PresentationPart

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

SlideManager

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

title string
author string
subject string