/// <devdoc> /// Sets the DC text alignment and returns the old value. /// </devdoc> public DeviceContextTextAlignment SetTextAlignment(DeviceContextTextAlignment newAligment) { return((DeviceContextTextAlignment)IntUnsafeNativeMethods.SetTextAlign(new HandleRef(this, this.Hdc), (int)newAligment)); }
public DeviceContextTextAlignment SetTextAlignment(DeviceContextTextAlignment newAligment) { return (DeviceContextTextAlignment) IntUnsafeNativeMethods.SetTextAlign(new HandleRef(this, this.Hdc), (int) newAligment); }