Image::GetHorizontalResolution メソッド (gdiplusheaders.h)

Image::GetHorizontalResolution メソッドは、この画像の水平方向の解像度を 1 インチあたりのドット単位で取得します。

構文

REAL GetHorizontalResolution();

戻り値

種類: REAL

このメソッドは、この画像の水平方向の解像度を 1 インチあたりのドット数で返します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplusheaders.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

こちらもご覧ください

Bitmap

Image

Image::GetHeight

Image::GetVerticalResolution

Image::GetWidth

イメージ、ビットマップ、メタファイル

イメージ、ビットマップ、メタファイルの使用