Share via


Graphics::SetPageScale メソッド (gdiplusgraphics.h)

Graphics::SetPageScale メソッドは、この Graphics オブジェクトのページ変換の拡大縮小率設定します。 ページ変換は、ページ座標をデバイス座標に変換します。

構文

Status SetPageScale(
  [in] REAL scale
);

パラメーター

[in] scale

種類: REAL

スケーリング係数を指定する実数。

戻り値

種類: 状態

メソッドが成功した場合は、 Status 列挙の要素である Ok を返します。

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

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

こちらもご覧ください

グラフィックス

Graphics::GetDpiX

Graphics::GetDpiY

Graphics::GetPageScale

Graphics::GetPageUnit

Graphics::SetPageUnit

座標系の種類

単位