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)
| Parameter | Type | Description |
|---|
| inputFileNames | String[] | An array of the input presentation file names. |
| outputFileName | String | The output file name of the resulting merged presentation file. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Thrown 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)
| Parameter | Type | Description |
|---|
| inputFileNames | String[] | An array of the input presentation file names. |
| outputFileName | String | The output file name of the resulting merged presentation file. |
| options | ISaveOptions | The additional options that define how the merged presentation is saved. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Thrown 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)
| Parameter | Type | Description |
|---|
| inputFileNames | String[] | An array of the input presentation file names. |
| outputStream | Stream | The output stream. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Thrown 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)
| Parameter | Type | Description |
|---|
| inputFileNames | String[] | An array of the input presentation file names. |
| outputStream | Stream | The output stream. |
| options | ISaveOptions | The additional options that define how the merged presentation is saved. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Thrown 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