bitmap class : Width getter
Description
Returns a width of the bitmap.
Syntax
instance.Width
Arguments
None.
Return value
Class | Description |
int | A width of the bitmap. |
Sample code
1: | bitmap bmp = new bitmap("http://rice.aki.gs/cooker/img/someimage.png"); |
2: | int width = bmp.Width; |
Notes
The return value is the physical pixels.
Links for reference
None.