RasterOperation Enumeration
Defines values for performing raster operations on drawn ink. Use these values to set the value for the RasterOperation property.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Enumeration RasterOperation
'Usage
Dim instance As RasterOperation
public enum RasterOperation
public enum class RasterOperation
public enum RasterOperation
Members
Member name | Description | |
---|---|---|
Black | Specifies black pen color. | |
NotMergePen | Specifies the inverse of MergePen. | |
MaskNotPen | Specifies a combination of the colors are common to the background color and the inverse of the pen. | |
NotCopyPen | Specifies the inverse of CopyPen. | |
MakePenNot | Specifies a combination of the colors are common to both the pen and the inverse of the display. | |
Not | Specifies the inverse of the display color. | |
XOrPen | Specifies a combination of the colors in the pen and in the display color, but not in both. | |
NotMaskPen | Specifies the inverse of MaskPen. | |
MaskPen | Specifies a combination of the colors common to both the pen and the display. | |
NotXOrPen | Specifies an inverse of XOrPen. | |
NoOperation | Specifies no operation; the output remains unchanged. | |
MergeNotPen | Specifies a combination of the display color and the inverse of the pen color. | |
CopyPen | Specifies the pen color. | |
MergePenNot | Specifies a combination of the pen color and the inverse of the display color. | |
MergePen | Specifies a combination of the pen color and the display color. | |
White | Specifies a white pen color. |
Remarks
Note
Some printers do not support many of the available raster operations. Because of this, the colors you see on the display may be different from the colors shown if they were printed on paper. This is directly related to the printer drivers or printer hardware. You may need to experiment to determine which printers can produce the correct output when various raster operations are set on ink.
When the RasterOperation property is set to anything other than CopyPen, all drawing attributes (anti-aliasing, smoothing, transparency, and pressure) are ignored.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0