다음을 통해 공유


CDC::GetViewportOrg

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

CPoint GetViewportOrg( ) const;

Return Value

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

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::GetWindowOrg

CPoint Class

CDC::SetViewportOrg