bitmap class : Height getter

Description

Returns a height of the bitmap.

Syntax

instance.Height

Arguments

None.

Return value

ClassDescription
intA height of the bitmap.

Sample code

1:

bitmap bmp = new bitmap("http://rice.aki.gs/cooker/img/someimage.png");

2:

int height = bmp.Height;

Notes

The return value is the physical pixels.

Links for reference

None.

Copyright © Cooker All rights reserved.