Partager via


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.

Notes

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

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::SetMapMode

CDC::GetLayout

GetMapMode