Interface IImageExporterDescriptor
Represents the image exporter descriptor. The exporter descriptor is used to overcome the necessity to contain each exporter instance in memory and multithreading issues.
public interface IImageExporterDescriptor : IImageDescriptor
- Inherited Members
Methods
CanExport(Image, ImageOptionsBase)
Determines whether image exporter can export the specified image to the specified image format specified by save options.
bool CanExport(Image image, ImageOptionsBase optionsBase)
Parameters
image
ImageThe image to export.
optionsBase
ImageOptionsBaseThe options base.
Returns
- bool
True
if exporter created by this descriptor can export the specified image to the specified file format; otherwise,false
.
CreateInstance()
Creates a new exporter instance.
IImageExporter CreateInstance()
Returns
- IImageExporter
A new exporter instance.