bitmap class : bitmap(bitmap) fitter
Description
Returns a new instance of bitmap class.
Syntax
new bitmap(bitmap original)
Arguments
| Class | Name | Description |
| bitmap | original | The original image. |
Return value
| Class | Description |
| bitmap | A new instance. |
Sample code
| 1: | bitmap originalBmp = new bitmap("C:\Users\YourName\Documents\img\someimage.png"); |
| 2: | bitmap newBmp = new bitmap(originalBmp); |
Notes
Returns a new instance of bitmap class with the same image as the argument.
This fitter acts as a clone operation.
Links for reference
None.


