bitmap class : Clone() method

Description

Returns a new instance with the same image as the caller.

Syntax

instance.Clone()

Arguments

None.

Return value

ClassDescription
bitmapA new instance.

Sample code

1:

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

2:

bmp cloneBmp = bmp.Clone();

Notes

None.

Links for reference

None.

Copyright © Cooker All rights reserved.