bitmap class : bitmap(string) fitter
Description
Returns a new instance of bitmap class.
Syntax
new bitmap(string pathOrUrl)
Arguments
| Class | Name | Description |
| string | pathOrUrl | 画像ファイルのパスかURL。 |
Return value
| Class | Description |
| bitmap | A new instance. |
Sample code
| 1: | bitmap localBmp = new bitmap("C:\Users\YourName\Documents\img\someimage.png"); |
| 2: | bitmap netBmp = new bitmap("http://rice.aki.gs/cooker/img/someimage.png"); |
Notes
Please specify the location of the image with the argument. You can specify the file path or URL.
Links for reference
None.


