VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / DecoderWrapper Class / GetDecoder<T>(DecoderBase) Method
Syntax Requirements SeeAlso
In This Topic
GetDecoder<T>(DecoderBase) Method (DecoderWrapper)
In This Topic
Gets the decoder with specifed type.
Syntax
'Declaration

Public Shared Function GetDecoder<T
The decoder type.
>( _
ByVal decoder
The decoder.
As DecoderBase _
) As T (Of T
The decoder type.
As DecoderBase)
public static T GetDecoder<T>(
DecoderBase decoder
) where T: DecoderBase

Parameters

decoder
The decoder.

Type Parameters

T
The decoder type.

Return Value

Decoder of specified type if decoder is found; otherwise, null.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also