CDC::GetViewportExt 

CSizeGetViewportExt()const;

Return Value

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

Remarks

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

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::SetViewportExt, CSize, CDC::SetWindowExt