Graphics::GetPageScale 方法获取当前为此 Graphics 对象的页面转换设置的缩放因子。 页面转换将页面坐标转换为设备坐标。
语法
REAL GetPageScale();
返回值
类型: REAL
此方法返回当前为此 Graphics 对象的页面转换设置的缩放因子。
要求
| 要求 | 值 | 
|---|---|
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] | 
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] | 
| 目标平台 | Windows | 
| 标头 | gdiplusgraphics.h (包括 Gdiplus.h) | 
| Library | Gdiplus.lib | 
| DLL | Gdiplus.dll |