[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Skia.GcSkiaBitmap.ToGcBitmap

ToGcBitmap Method

ToGcBitmap(Rectangle?)

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

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

A new instance of the GcBitmap class.

ToGcBitmap(GcBitmap, Rectangle?)

Copies the 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.