Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GrayscaleBitmap Class / Clone Method
Specifies whether the Exif metadata should be cloned (if exist), not just copied as a reference.
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.

In This Topic
    Clone Method (GrayscaleBitmap)
    In This Topic
    Creates a new GrayscaleBitmap with a copy of the image.
    Syntax
    'Declaration
     
    Public Function Clone( _
       Optional ByVal cloneExif As System.Boolean, _
       Optional ByVal metadataOnly As System.Boolean _
    ) As GrayscaleBitmap
    public GrayscaleBitmap Clone( 
       System.bool cloneExif,
       System.bool metadataOnly
    )

    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