ComponentOne Bitmap for WPF
Initialize Method (BitmapDecoder)

C1.WPF.DX.4 Assembly > C1.Util.DX.WIC Namespace > BitmapDecoder Class : Initialize Method
The stream to use for initialization.
The cache options.
Initializes the decoder with the provided stream.
Syntax
'Declaration
 
Public Sub Initialize( _
   ByVal stream As IStream, _
   ByVal cacheOptions As DecodeOptions _
) 
public void Initialize( 
   IStream stream,
   DecodeOptions cacheOptions
)

Parameters

stream
The stream to use for initialization.
cacheOptions
The cache options.

Return Value

If the method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it throws an exception.
See Also

Reference

BitmapDecoder Class
BitmapDecoder Members