DrawObject.RasterOperation Property | |
A constant, indicating the raster operation in use for this DrawObject object:
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL PROPERTY RasterOperation AS USUAL GET SET
public virtual Usual RasterOperation { get; set; }
Request Example
View SourceProperty Value
Type:
UsualA constant, indicating the raster operation in use for this DrawObject object:
Remarks
One of the following constants, indicating the raster operation in use for this DrawObject object:
Constant | Description |
---|
ROPBACKGROUND | Draw this object using the background color of the window. |
ROPINVERT | Invert the object currently displayed. This operation can be used for elastic banding, moving objects, and so forth. |
ROPOVERWRITE |
Overwrite the current display. This is the default.
|
ROPXOR | Exclusive OR with the current window contents. |
This property allows you to specify how the drawing affects whatever is already on the window. The XOR operation, for example, is useful for temporary drawings you want to be able to remove, restoring the original image.
See Also