Table of Contents

Class PresentationToHtmlConverter

Namespace
Slidize
Assembly
Slidize.Plugins.dll

Plugin for converting the PowerPoint 97-2003 and Microsoft Office Open XML presentations into HTML format.

public static class PresentationToHtmlConverter
Inheritance
PresentationToHtmlConverter
Inherited Members

Methods

Process(Stream, Stream)

Converts the input presentation to HTML format.

public static void Process(Stream inputStream, Stream outputStream)

Parameters

inputStream Stream

The input presentation stream.

outputStream Stream

The output stream.

Examples

using FileStream inputStream = new("pres.pptx", FileMode.Open, FileAccess.Read);
using MemoryStream outputStream = new();
PresentationToHtmlConverter.Process(inputStream, outputStream);

Exceptions

ArgumentException

Process(Stream, Stream, HtmlConverterOptions)

Converts the input presentation to HTML format with custom options.

public static void Process(Stream inputStream, Stream outputStream, HtmlConverterOptions options)

Parameters

inputStream Stream

The input presentation stream.

outputStream Stream

The output stream.

options HtmlConverterOptions

HTML converter options.

Examples

PresentationToHtmlConverter.Process("pres.pptx", "pres.html", new HtmlConverterOptions{ JpegQuality = 100 });

Exceptions

ArgumentException

Process(string, string)

Converts the input presentation to HTML format.

public static void Process(string inputFileName, string outputFileName)

Parameters

inputFileName string

The name of the input presentation file.

outputFileName string

The output file name.

Examples

PresentationToHtmlConverter.Process("pres.pptx", "pres.html");

Exceptions

ArgumentException

Process(string, string, HtmlConverterOptions)

Converts the input presentation to HTML format with custom options.

public static void Process(string inputFileName, string outputFileName, HtmlConverterOptions options)

Parameters

inputFileName string

The name of the input presentation file.

outputFileName string

The output file name.

options HtmlConverterOptions

HTML converter options.

Examples

PresentationToHtmlConverter.Process("pres.pptx", "pres.html", new HtmlConverterOptions{ JpegQuality = 100 });

Exceptions

ArgumentException