ComponentOne Imaging for UWP
C1.UWP.Imaging Assembly / C1.Xaml.Imaging Namespace / C1Bitmap Class / GetStream Method / GetStream(ImageFormat,Boolean) Method
ImageFormat that specifies the type of stream to return.
Whether the stream should be compressed (optional only for PNG format).

In This Topic
    GetStream(ImageFormat,Boolean) Method
    In This Topic
    Gets a System.IO.Stream that contains the image in this C1Bitmap.
    Syntax
    'Declaration
     
    Public Overloads Function GetStream( _
       ByVal format As ImageFormat, _
       ByVal compress As System.Boolean _
    ) As System.IO.Stream
    public System.IO.Stream GetStream( 
       ImageFormat format,
       System.bool compress
    )

    Parameters

    format
    ImageFormat that specifies the type of stream to return.
    compress
    Whether the stream should be compressed (optional only for PNG format).

    Return Value

    A System.IO.Stream that contains the image in this C1Bitmap.
    See Also