CDC::GetViewportOrg 

CPoint GetViewportOrg( ) const;

Return Value

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

Remarks

Retrieves the x- and y-coordinates of the origin of the viewport associated with the device context.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::GetWindowOrg, CPoint, CDC::SetViewportOrg