Process

Process(string[], string)

Merges multiple PowerPoint presentations of the same format into a single presentation file.

public static void Process(string[] inputFileNames, string outputFileName)
ParameterTypeDescription
inputFileNamesString[]An array of the input presentation file names.
outputFileNameStringThe output file name of the resulting merged presentation file.

Exceptions

exceptioncondition
ArgumentExceptionThrown when input file names are invalid or formats do not match.

Examples

Merger.Process(new string[] { "pres1.ppt", "pres2.ppt" }, "merged.ppt");

See Also


Process(string[], string, ISaveOptions)

Merges multiple PowerPoint presentations of the same format into a single presentation file.

public static void Process(string[] inputFileNames, string outputFileName, ISaveOptions options)
ParameterTypeDescription
inputFileNamesString[]An array of the input presentation file names.
outputFileNameStringThe output file name of the resulting merged presentation file.
optionsISaveOptionsThe additional options that define how the merged presentation is saved.

Exceptions

exceptioncondition
ArgumentExceptionThrown when input file names are invalid or formats do not match.

Examples

Merger.Process(new string[] { "pres1.pptx", "pres2.pptx" }, "merged.pptx", new PptxOptions() { RefreshThumbnail = false });

See Also


Process(string[], Stream)

Merges multiple PowerPoint presentations of the same format into a single presentation file.

public static void Process(string[] inputFileNames, Stream outputStream)
ParameterTypeDescription
inputFileNamesString[]An array of the input presentation file names.
outputStreamStreamThe output stream.

Exceptions

exceptioncondition
ArgumentExceptionThrown when input file names are invalid or formats do not match.

Examples

using(var stream = new MemoryStream())
    Merger.Process(new string[] { "pres1.ppt", "pres2.ppt" }, stream);

See Also


Process(string[], Stream, ISaveOptions)

Merges multiple PowerPoint presentations of the same format into a single presentation file.

public static void Process(string[] inputFileNames, Stream outputStream, ISaveOptions options)
ParameterTypeDescription
inputFileNamesString[]An array of the input presentation file names.
outputStreamStreamThe output stream.
optionsISaveOptionsThe additional options that define how the merged presentation is saved.

Exceptions

exceptioncondition
ArgumentExceptionThrown when input file names are invalid or formats do not match.

Examples

using(var stream = new MemoryStream())
    Merger.Process(new string[] { "pres1.pptx", "pres2.pptx" }, stream, new PptxOptions() { RefreshThumbnail = false });

See Also