Home Notices Documents Classes Download Others Rice
Classes  >  bitmap  >  Clone()
bitmap class : Clone() method

Description

Returns a new instance of the bitmap class with the caller's copy.

Syntax

bitmapInstance.Clone()

Arguments

None.

Return value

None.

Sample code

1:

bitmap bmp = new bitmap("http://rice.aki.gs/cookergx/img/someimage.png");

2:

bmp cloneimage = bmp.Clone();

Notes

It's a wrapper of the System.Drawing.Bitmap.Clone() method.

Links for reference

Copyright © Rice All rights reserved.