Clone Method (GrayscaleBitmap)
In This Topic
Creates a new
GrayscaleBitmap with a copy of the image.
Syntax
'Declaration
Public Function Clone( _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
) As GrayscaleBitmap
public GrayscaleBitmap Clone(
System.bool ,
System.bool
)
Parameters
- cloneExif
- Specifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
- 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.
See Also