Partager via


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

Reference

CDC Class

Hierarchy Chart

CDC::SetViewportExt

CSize Class

CDC::SetWindowExt

Other Resources

CDC Members