CDC::GetViewportExt
Visual Studio 2012
Retrieves the x- and y-extents of the device context's viewport.
CSize GetViewportExt( ) const;
Retrieves the x- and y-extents of the device context's viewport.
CSize GetViewportExt( ) const;