Home News DOC Class DL Others Rice
Class  >  bitmap  >  Width
bitmap class : Width getter

Description

Returns a width of the bitmap.

Syntax

instance.Width

Arguments

None.

Return value

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

Copyright © Rice All rights reserved.