[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaImage.ToGcBitmap

ToGcBitmap Method

ToGcBitmap(Rectangle?)

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

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 current image into an existing instance of GcBitmap.

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

The target GcBitmap object.

Rectangle? clipRect

Clipping rectangle to be copied to GcBitmap.