EmfSetRop2

EmfSetRop2 class

The EMR_SETROP2 record defines a binary raster operation mode.

public sealed class EmfSetRop2 : EmfStateRecordType

Constructors

Name Description
EmfSetRop2() Initializes a new instance of the EmfSetRop2 class.
EmfSetRop2(EmfRecord) Initializes a new instance of the EmfSetRop2 class.

Properties

Name Description
Rop2Mode { get; set; } Gets or sets a 32-bit unsigned integer that specifies the raster operation mode and MUST be in the WMF Binary Raster Op enumeration ([MS-WMF] section 2.1.1.2).
Size { get; set; } Gets or sets the size of the record
Type { get; set; } Gets or sets the type.

Remarks

Binary raster operation mix modes define how to combine 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.

See Also