Image::GetHeight method (gdiplusheaders.h)

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

Syntax

UINT GetHeight();

Return value

Type: UINT

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

Requirements

Requirement Value
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