Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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