Home Cooker Classes Others Rice
Classes  >  bitmap  >  Width
bitmap class : Width getter

Description

Gets a width of the bitmap.

Syntax

bitmapInstance.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

A return value is in pixels.

Links for reference

None.

Copyright © Rice All rights reserved.