CDC::GetViewportExt
Retrieves the x- and y-extents of the device context's viewport.
CSize GetViewportExt( ) const;
Return Value
The x- and y-extents (in device units) as a CSize object.
Requirements
Header: afxwin.h
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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