ImageExportersRegistry.GetFirstSupportedDescriptor method

Gets the fist found supported descriptor suitable for the specified save options and image.

public static IImageExporterDescriptor GetFirstSupportedDescriptor(Image image, 
    ImageOptionsBase options)
Parameter Type Description
image Image The image to export.
options ImageOptionsBase The options.

Return Value

The exporter descriptor which supports the specified image and save options or null if no such descriptor is found.


The first exporter descriptor will be actually the last registered.

See Also