ImageExportStrategy
DocumentConverterOptions.ImageExportStrategy property
Gets or sets the strategy for handling image export during document conversion.
public IImageExportStrategy ImageExportStrategy { get; set; }
Property Value
The image export strategy that determines how images are processed during conversion. Default is ExportImagesAsBase64Strategy
.
Remarks
You can choose from several built-in strategies:
ExportImagesAsBase64Strategy
- Embeds images as Base64 strings in the Markdown (default)ExportImagesToFileSystemStrategy
- Saves images to a specified folderSkipImagesStrategy
- References images but doesn’t save themCustomImagesStrategy
- The user can independently override the image saving mechanism
Or implement your own strategy by creating a class that implements IImageExportStrategy
.
See Also
- interface IImageExportStrategy
- class DocumentConverterOptions
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown