[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaGraphics.ToGcBitmap

ToGcBitmap Method

ToGcBitmap(Rectangle?)

Creates an instance of the GcBitmap class from the current GcSkiaGraphics.

Declaration
public GcBitmap ToGcBitmap(Rectangle? clipRect = null)
Public Function ToGcBitmap(Optional clipRect As Rectangle? = Nothing) As GcBitmap
Parameters
Type Name Description
Rectangle? clipRect

Clipping rectangle to be copied to GcBitmap.

Returns
Type Description
GcBitmap

An instance of the GcBitmap with the image fragment.

ToGcBitmap(GcBitmap, Rectangle?)

Copies the image into an existing instance of GcBitmap.

Declaration
public void ToGcBitmap(GcBitmap bmp, Rectangle? clipRect = null)
Public Sub ToGcBitmap(bmp As GcBitmap, Optional clipRect As Rectangle? = Nothing)
Parameters
Type Name Description
GcBitmap bmp

The target GcBitmap object.

Rectangle? clipRect

Clipping rectangle to be copied to GcBitmap.