GetFirstSupportedDescriptorByFileFormat

ImageLoadersRegistry.GetFirstSupportedDescriptorByFileFormat method

Gets the first supported file format by its type name.

public static IImageLoaderDescriptor GetFirstSupportedDescriptorByFileFormat(FileFormat fileFormat)
ParameterTypeDescription
fileFormatFileFormatThe supported descriptor file format.

Return Value

The first found loader descriptor or null if not such descriptor is found.

Remarks

The first loader descriptor will be actually the last registered.

See Also