Table of Contents

Class Presentation

Namespace
Openize.Slides
Assembly
Openize.OpenXMLSDK.dll
public class Presentation
Inheritance
Presentation
Inherited Members

Properties

Facade

Gets the facade for handling presentation document operations.

public PresentationDocumentFacade Facade { get; }

Property Value

PresentationDocumentFacade

FilePath

Gets or sets the file path of the presentation.

public string FilePath { get; set; }

Property Value

string

SlideHeight

Gets or sets the slide height of the presentation.

public int SlideHeight { get; set; }

Property Value

int

SlideWidth

Gets or sets the slide width of the presentation.

public int SlideWidth { get; set; }

Property Value

int

Methods

AppendSlide(Slide)

Appends a slide to the presentation.

public void AppendSlide(Slide slide)

Parameters

slide Slide

The slide object to append.

Close()

Closes the presentation document.

public void Close()

CopySlide(Slide)

Copies a slide from another presentation.

public void CopySlide(Slide slide)

Parameters

slide Slide

The slide object to copy.

Create(string)

Creates a new presentation instance with the specified file path.

public static Presentation Create(string FilePath)

Parameters

FilePath string

The file path for the new presentation.

Returns

Presentation

GetSlides()

Retrieves all slides from the presentation.

public List<Slide> GetSlides()

Returns

List<Slide>

Open(string)

Opens an existing presentation file.

public static Presentation Open(string FilePath)

Parameters

FilePath string

The file path of the presentation to open.

Returns

Presentation

Save()

Saves the presentation document.

public void Save()