[]
Creates a new GcBitmap with a copy of the image.
public GcBitmap Clone(bool cloneExif = false, bool metadataOnly = false)
Public Function Clone(Optional cloneExif As Boolean = False, Optional metadataOnly As Boolean = False) As GcBitmap
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. |
Type | Description |
---|---|
GcBitmap |
Copies the image into an existing GcBitmap.
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)
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. |