ImageDecodersTryGetImageDecoder Method Document Toolkit Help
Gets the image decoder associated with specified content type.

Namespace: FirstFloor.Documents.Imaging
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static bool TryGetImageDecoder(
	string contentType,
	out IImageDecoder decoder
)

Parameters

contentType
Type: SystemString
Type of the content.
decoder
Type: FirstFloor.Documents.ImagingIImageDecoder
The decoder.

Return Value

Type: Boolean
A value indicating whether a decoder was found for given content type.
See Also

Reference