Applies To Report.
Description
You can use the DrawMode property to specify how the pen (the color used in drawing) interacts with existing background colors on a report when the Line, Circle, or PSet method is used to draw on a report when printing.
Setting
The DrawMode property uses the following settings.
Setting | Description |
1 | Black pen color. |
2 | The inverse of setting 15 (NotMergePen). |
3 | The combination of the colors common to the background color and the inverse of the pen (MaskNotPen). |
4 | The inverse of setting 13 (NotCopyPen). |
5 | The combination of the colors common to both the pen and the inverse of the display (MaskPenNot). |
6 | The inverse of the display color (Invert). |
7 | The combination of the colors in the pen and in the display color, but not in both (XorPen). |
8 | The inverse of setting 9 (NotMaskPen). |
9 | The combination of the colors common to both the pen and the display (MaskPen). |
10 | The inverse of setting 7 (NotXorPen). |
11 | No operation the output remains unchanged. In effect, this setting turns drawing off (Nop). |
12 | The combination of the display color and the inverse of the pen color (MergeNotPen). |
13 | (Default) The color specified by the ForeColor property (CopyPen). |
14 | The combination of the pen color and the inverse of the display color (MergePenNot). |
15 | The combination of the pen color and the display color (MergePen). |
16 | White pen color. |
See Also BackColor property, BackStyle property, Circle method, DrawStyle property, DrawWidth property, Event properties, FillColor property, FillStyle property, ForeColor property, Line method, PSet method.