SetOutputStream
CustomImageSavingArgs.SetOutputStream method
Redirects the image data to a custom writable stream instead of the default file output. The library will write the image bytes to this stream during conversion.
public void SetOutputStream(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | A writable stream where the image data will be written. |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when stream is null. |
See Also
- class CustomImageSavingArgs
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown