Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsPng Method / SaveAsPng(Stream,Nullable<Rectangle>) Method
The output stream.
Clipping rectangle of the image to be saved.

In This Topic
    SaveAsPng(Stream,Nullable<Rectangle>) Method
    In This Topic
    Saves the image into a Stream in PNG format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPng( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) 
    public void SaveAsPng( 
       System.IO.Stream stream,
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    stream
    The output stream.
    clipRect
    Clipping rectangle of the image to be saved.
    See Also