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-coordinates of the origin of the viewport associated with the device context.

CPoint GetViewportOrg( ) const;

The origin of the viewport (in device coordinates) as a CPoint object.

Header: afxwin.h

© 2015 Microsoft