GetImageStream
IImageExportStrategy.GetImageStream method
Returns a writable stream for the image described by context. The library writes the image bytes to this stream during conversion.
public Stream GetImageStream(ImageExportContext context)
| Parameter | Type | Description |
|---|---|---|
| context | ImageExportContext | The image export context containing the default image file name and other metadata. You may modify ImageFileName before returning the stream to change the file name that appears in the Markdown output. |
Return Value
A writable Stream where the image data will be written, or null to use the default behavior.
See Also
- class ImageExportContext
- interface IImageExportStrategy
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown