Home News DOC Class DL Others Rice
Class  >  bitmap  >  bitmap(bitmap)
bitmap class : bitmap(bitmap) fitter

Description

Returns a new instance of bitmap class.

Syntax

new bitmap(bitmap original)

Arguments

ClassNameDescription
bitmaporiginalThe original image.

Return value

ClassDescription
bitmapA 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.

Copyright © Rice All rights reserved.