Image::GetHorizontalResolution method

The Image::GetHorizontalResolution method gets the horizontal resolution, in dots per inch, of this image.

Syntax

REAL GetHorizontalResolution(

);

Parameters

This method has no parameters.

Return Value

Type: Type: REAL

This method returns the horizontal resolution, in dots per inch, 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::GetHeight

Image::GetVerticalResolution

Image::GetWidth

Images, Bitmaps, and Metafiles

Using Images, Bitmaps, and Metafiles