CalendarView for WinForms
SetRasterOperationCode メソッド

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : SetRasterOperationCode メソッド
Specifies the mix mode. This parameter can be one of the following values.
Sets the current foreground mix mode. GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen. The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.
シンタックス
'宣言
 
Public Overridable Function SetRasterOperationCode( _
   ByVal rasterOperationCode As RasterOperationCode _
) As RasterOperationCode
public virtual RasterOperationCode SetRasterOperationCode( 
   RasterOperationCode rasterOperationCode
)

パラメータ

rasterOperationCode
Specifies the mix mode. This parameter can be one of the following values.

戻り値の型

If the function succeeds, the return value specifies the previous mix mode. otherwise, zero indicates failed
解説
Mix modes define how GDI combines source and destination colors when drawing with the current pen. The mix modes are binary raster operation codes, representing all possible Boolean functions of two variables, using the binary operations AND, OR, and XOR (exclusive OR), and the unary operation NOT. The mix mode is for raster devices only; it is not available for vector devices.
参照

DeviceContext クラス
DeviceContext メンバ