Graphics::GetPageScale method (gdiplusgraphics.h)

The Graphics::GetPageScale method gets the scaling factor currently set for the page transformation of this Graphics object. The page transformation converts page coordinates to device coordinates.

Syntax

REAL GetPageScale();

Return value

Type: REAL

This method returns the scaling factor currently set for the page transformation of this Graphics object.

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 gdiplusgraphics.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Graphics

Graphics::GetDpiX

Graphics::GetDpiY

Graphics::GetPageUnit

Graphics::SetPageScale

Graphics::SetPageUnit

Types of Coordinate Systems

Unit