IInkDrawingAttributes::put_RasterOperation method (msinkaut.h)

Gets or sets a value that defines how the colors of the pen and background interact.

This property is read/write.

Syntax

HRESULT put_RasterOperation(
  InkRasterOperation NewRasterOperation
);

Parameters

NewRasterOperation

Return value

None

Remarks

The InkRasterOperation enumeration defines values for performing raster operations on drawn ink. For example, if you want to perform subtractive transparency, set the raster value to MaskPen.

For a complete list of available raster operations, see the InkRasterOperation enumeration type.

Note  Many printers do not support many of the available raster operations. Because of this, the colors displayed may be different than the colors printed. This is directly related to the printer drivers or printer hardware. You may have 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 InkRasterOperation.IRO_CopyPen, all drawing attributes-anti-aliasing, smoothing, transparency, and pressure-are ignored.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

IInkDrawingAttributes

InkDrawingAttributes Class

InkRasterOperation Enumeration