Freigeben über


CDC::GetViewportExt

Retrieves the x- and y-extents of the device context's viewport.

CSize GetViewportExt( ) const;

Return Value

The x- and y-extents (in device units) as a CSize object.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::SetViewportExt

CSize Class

CDC::SetWindowExt