Registers the image decoder for given content type.
Namespace: FirstFloor.Documents.ImagingAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
| C# |
|---|
public static void RegisterImageDecoder( string contentType, IImageDecoder decoder ) |
| Visual Basic |
|---|
Public Shared Sub RegisterImageDecoder ( _ contentType As String, _ decoder As IImageDecoder _ ) |
| Visual C++ |
|---|
public: static void RegisterImageDecoder( String^ contentType, IImageDecoder^ decoder ) |
Parameters
- contentType
- Type: System..::..String
Type of the content.
- decoder
- Type: FirstFloor.Documents.Imaging..::..IImageDecoder
The decoder.
Remarks
Overwrites any decoder previously registered for specified content type.