IImageLoaderDescriptor.CanLoad

IImageLoaderDescriptor.CanLoad method

Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.

public bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)
ParameterTypeDescription
streamContainerStreamContainerThe stream container.
loadOptionsLoadOptionsThe file format details specified by loadOptions. The loadOptions may be null.

Return Value

true if image loader created by this descriptor can read image from stream; otherwise, false.

See Also