ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.Bitmap Namespace / C1Bitmap Class / SaveAsPng Method / SaveAsPng(Stream,PngOptions) Method
The output stream.
The options for the PNG image encoder.

In This Topic
    SaveAsPng(Stream,PngOptions) Method
    In This Topic
    Saves the image to a System.IO.Stream in PNG format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPng( _
       ByVal stream As Stream, _
       ByVal options As PngOptions _
    ) 
    public void SaveAsPng( 
       Stream stream,
       PngOptions options
    )

    Parameters

    stream
    The output stream.
    options
    The options for the PNG image encoder.
    See Also