Required. Any statement that gives the code pointer of the object whose color information is desired. |
Required. Any numeric expression which gives the number of the pen or brush which the color information is desired for. The first pen or brush is numbered 1. |
Required. Any numeric expression which gives the desired color attribute.Attribute | Color Attribute |
---|
0 | Type of the PenBrushNum supplied. Return value is 19 (brush) or 20 (pen) | 1 | The foreground color of the brush or pen specified | 2 | For a brush, the background color, for a pen, the width | 3 | For a brush, the pattern number, for a pen, the style |
|