IImageExporterDescriptor.CanExport

IImageExporterDescriptor.CanExport method

确定图像导出器是否可以将指定的图像导出为保存选项中指定的图像格式。

public bool CanExport(Image image, ImageOptionsBase optionsBase)
参数类型描述
image图像要导出的图像。
optionsBaseImageOptionsBase选项基类。

返回值

True 表示由此描述符创建的导出器可以将指定的图像导出为指定的文件格式;否则为 false

另请参见