ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / BitmapDecoder Class / Initialize Method
The stream to use for initialization.
The cache options.

In This Topic
    Initialize Method (BitmapDecoder)
    In This Topic
    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