Document Solutions for PDF
GrapeCity.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcD2DBitmap 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 stream in PNG format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPng( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal options As PngOptions _
    ) 
    public void SaveAsPng( 
       System.IO.Stream stream,
       PngOptions options
    )

    Parameters

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