GetFirstSupportedDescriptor

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)
ParameterTypeDescription
imageImageThe image to export.
optionsImageOptionsBaseThe options.

Return Value

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

Remarks

The first exporter descriptor will be actually the last registered.

See Also