[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.Clone

Clone Method

Clone(bool, bool)

Creates a new GcBitmap with a copy of the image.

Declaration
public GcBitmap Clone(bool cloneExif = false, bool metadataOnly = false)
Public Function Clone(Optional cloneExif As Boolean = False, Optional metadataOnly As Boolean = False) As GcBitmap
Parameters
Type Name Description
bool cloneExif

Specifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.

bool metadataOnly

Specifies whether to copy the image metadata only, not actual pixel data. If false, the pixel data will be copied from the current GcBitmap. If true, the pixel data of the resulting GcBitmap remain uninitialized.

Returns
Type Description
GcBitmap

Clone(GcBitmap, bool, bool)

Copies the image into an existing GcBitmap.

Declaration
public void Clone(GcBitmap bmp, bool cloneExif = false, bool metadataOnly = false)
Public Sub Clone(bmp As GcBitmap, Optional cloneExif As Boolean = False, Optional metadataOnly As Boolean = False)
Parameters
Type Name Description
GcBitmap bmp

The target GcBitmap object.

bool cloneExif

Specifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.

bool metadataOnly

Specifies whether to copy the image metadata only, not actual pixel data. If false, the pixel data will be copied from the current GcBitmap. If true, the pixel data of the target GcBitmap remain uninitialized.