Compartir a través de


CDC::GetMapMode

Retrieves the current mapping mode.

int GetMapMode( ) const;

Return Value

The mapping mode.

Remarks

For a description of the mapping modes, see the SetMapMode member function.

Note

If you call SetLayout to change the DC to right-to-left layout, SetLayout automatically changes the mapping mode to MM_ISOTROPIC. Consequently, any subsequent call to GetMapMode will return MM_ISOTROPIC.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::SetMapMode

CDC::GetLayout

GetMapMode