ImageLoadersRegistryGetFirstSupportedDescriptor Method
Gets the fist found supported descriptor suitable for the specified stream and optionally the loadOptions.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public static IImageLoaderDescriptor GetFirstSupportedDescriptor(
	Stream stream,
	LoadOptions loadOptions
)

Parameters

stream
Type: System.IOStream
The stream.
loadOptions
Type: Aspose.ImagingLoadOptions
The load options.

Return Value

Type: IImageLoaderDescriptor
The loader descriptor which supports the specified stream and loadOptions or null if no such descriptor is found.
Remarks
The first loader descriptor will be actually the last registered.
See Also