[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GrayscaleBitmap.Clone

Clone Method

Clone(bool, bool)

Creates a new GrayscaleBitmap with a copy of the image.

Declaration
public GrayscaleBitmap Clone(bool cloneExif = false, bool metadataOnly = false)
Public Function Clone(Optional cloneExif As Boolean = False, Optional metadataOnly As Boolean = False) As GrayscaleBitmap
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 GrayscaleBitmap. If true, the pixel data of the resulting GrayscaleBitmap remain uninitialized.

Returns
Type Description
GrayscaleBitmap