SetMapModeScope struct SetMapModeScope Helper to scope selecting a given mapping mode into a HDC. Restores the original mapping mode into the HDC when disposed. Documentation Code public SetMapModeScope(HDC hdc, HDC_MAP_MODE mapMode) Sets the mapMode in the given hdc using SetMapMode. public void Dispose()