Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

© 2015 Microsoft