CDC::GetViewportOrg
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
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-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