CalendarView for WinForms
InvertRectangle メソッド

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : InvertRectangle メソッド
A System.Drawing.Pointstructure that contains the logical coordinates of the rectangle to be inverted.
Inverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel in the rectangle's interior.
シンタックス
'宣言
 
Public Overridable Sub InvertRectangle( _
   ByVal rectangle As System.Drawing.Rectangle _
) 
public virtual void InvertRectangle( 
   System.Drawing.Rectangle rectangle
)

パラメータ

rectangle
A System.Drawing.Pointstructure that contains the logical coordinates of the rectangle to be inverted.
例外
例外解説
Defines an exception class to handle the system error.
解説
On monochrome screens, InvertRectangle makes white pixels black and black pixels white. On color screens, the inversion depends on how colors are generated for the screen. Calling InvertRectangle twice for the same rectangle restores the display to its previous colors.
参照

DeviceContext クラス
DeviceContext メンバ