PyCDC.SetMapMode

int = SetMapMode(newMode)

Sets the mapping mode for the device context.

Parameters

newMode : int

The new mode. Can be one of MM_ANISOTROPIC, MM_HIENGLISH, MM_HIMETRIC, MM_ISOTROPIC, MM_LOENGLISH, MM_LOMETRIC, MM_TEXT, MM_TWIPS

MFC References

CDC::SetMapMode

Return Value

The previous mapping mode.