Retrieves the x- and y-extents of the device context's viewport.
CSize GetViewportExt( ) const;
The x- and y-extents (in device units) as a CSize object.
Header: afxwin.h