[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.SaveAsBmp

SaveAsBmp Method

SaveAsBmp(Stream, Rectangle?)

Saves the image into a Stream in BMP format.

Declaration
public void SaveAsBmp(Stream stream, Rectangle? clipRect = null)
Public Sub SaveAsBmp(stream As Stream, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
Stream stream

The output stream.

Rectangle? clipRect

Clipping rectangle of the image to be saved.

SaveAsBmp(string, Rectangle?)

Saves the image into a file in BMP format.

Declaration
public void SaveAsBmp(string path, Rectangle? clipRect = null)
Public Sub SaveAsBmp(path As String, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
string path

The output file path.

Rectangle? clipRect

Clipping rectangle of the image to be saved.