Document Solutions for PDF
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcD2DBitmap Class / Load Method / Load(Stream,WicContainerFormat,Int32) Method
The input stream.
The image container format; use WicContainerFormat.Unknown to detect the format automatically.
Index of an image frame to read; pass 0 for image formats not supporting multiple frames.

In This Topic
    Load(Stream,WicContainerFormat,Int32) Method
    In This Topic
    Loads the image from a stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal containerFormat As WicContainerFormat, _
       Optional ByVal frameIndex As System.Integer _
    ) 
    public void Load( 
       System.IO.Stream stream,
       WicContainerFormat containerFormat,
       System.int frameIndex
    )

    Parameters

    stream
    The input stream.
    containerFormat
    The image container format; use WicContainerFormat.Unknown to detect the format automatically.
    frameIndex
    Index of an image frame to read; pass 0 for image formats not supporting multiple frames.
    See Also