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

Description

Returns a new instance of bitmap class.

Syntax

new bitmap(string pathOrUrl)

Arguments

ClassNameDescription
stringpathOrUrl画像ファイルのパスかURL。

Return value

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

Copyright © Rice All rights reserved.