Image.height Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the height of the image in pixels.
public:
virtual int height();
public virtual int height ();
abstract member height : unit -> int
override this.height : unit -> int
Public Overridable Function height () As Integer
Returns
An integer that represents the height of the image in pixels.
Remarks
The following example prints out the height of the image that is contained in test.bmp.
Image img = new Image();
img.loadFile(@'C:\test.bmp');
print img.height();
pause;