Image::GetHeight method

The Image::GetHeight method gets the image height, in pixels, of this image.

Syntax

UINT GetHeight(

);

Parameters

This method has no parameters.

Return Value

Type: Type: UINT

This method returns the height, in pixels, of this image.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See Also

Bitmap

Image

Image::GetHorizontalResolution

Image::GetVerticalResolution

Image::GetWidth

Images, Bitmaps, and Metafiles

Using Images, Bitmaps, and Metafiles