Save
Save(Stream, ISaveOptions)
Saves the result document to the stream document.
public IMerger Save(Stream document, ISaveOptions saveOptions = null)
| Parameter |
Type |
Description |
| document |
Stream |
The document stream. |
| saveOptions |
ISaveOptions |
The options for saving. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when document is null. |
See Also
Save(string, ISaveOptions)
Saves the result document file to filePath.
public IMerger Save(string filePath, ISaveOptions saveOptions = null)
| Parameter |
Type |
Description |
| filePath |
String |
The file name or full file path. |
| saveOptions |
ISaveOptions |
The options for saving. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when filePath is null or empty. |
See Also
Save(string, bool, ISaveOptions)
Saves the result document file to filePath.
public IMerger Save(string filePath, bool useDefaultDirectory, ISaveOptions saveOptions = null)
| Parameter |
Type |
Description |
| filePath |
String |
The file path or name in case of default directory usage. |
| useDefaultDirectory |
Boolean |
Use the default directory from settings. |
| saveOptions |
ISaveOptions |
The options for saving. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when filePath is null or empty. |
See Also