Поделиться через


RasterOperation - перечисление

Обновлен: Ноябрь 2007

Defines values for performing raster operations on drawn ink. Use these values to set the value for the RasterOperation property.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Enumeration RasterOperation
'Применение
Dim instance As RasterOperation
public enum RasterOperation
public enum class RasterOperation
public enum RasterOperation
public enum RasterOperation

Члены

Имя члена Описание
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.

Заметки

ms552517.alert_note(ru-ru,VS.90).gifПримечание.

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.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Microsoft.Ink - пространство имен

DrawingAttributes.RasterOperation