/// <devdoc> /// Sets the dc graphics mode and returns the old value. /// </devdoc> public DeviceContextGraphicsMode SetGraphicsMode(DeviceContextGraphicsMode newMode) { return((DeviceContextGraphicsMode)IntUnsafeNativeMethods.SetGraphicsMode(new HandleRef(this, this.Hdc), unchecked ((int)newMode))); }
public DeviceContextGraphicsMode SetGraphicsMode(DeviceContextGraphicsMode newMode) { return (DeviceContextGraphicsMode) IntUnsafeNativeMethods.SetGraphicsMode(new HandleRef(this, this.Hdc), (int) newMode); }