ExportStrategy
DocumentConverterOptions.ExportStrategy property
Gets or sets the strategy for customizing resource written to the Markdown output.
public IExportStrategy ExportStrategy { get; set; }
Property Value
The URI export strategy that determines how resource links are produced. Default is null, which keeps the Aspose-generated URIs unchanged.
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 IExportStrategy
- class DocumentConverterOptions
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown