CustomImagesStrategy class
CustomImagesStrategy class
Implements an image export strategy that gives you full control over how images are saved during conversion.
Supply an IImageSavingHandler implementation to rename images, redirect them to a custom stream, or apply any other custom logic when each image is encountered.
The CustomImagesStrategy type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the CustomImagesStrategy class. |
Methods
| Method | Description |
|---|---|
| get_image_stream | Gets a stream for writing the exported image to the file system. |
Properties
| Property | Description |
|---|---|
| images_folder | The physical folder where images will be saved on disk. |
| images_relative_path | The path used in the Markdown image references; when None or empty, the full CustomImagesStrategy.images_folder path is used, and it can be set to a relative path (e.g., “images”) for portable Markdown output. |
See Also
- module
groupdocs.markdown