Pen(Mode, Value)
Sets the appearance of a line drawn with the current pen.
Affects any line-drawing actions performed after invoking this method.
Parameters
- Mode. Specifies the pen style to use. This parameter can take one of the following WideString values:
- Style. Specifies the line style to use, for example, DashDot.
- Color. Specifies the color to use.
- Width. Specifies the line width in pixels.
- Style. Specifies the line style to use, for example, DashDot.
- Value. Specifies the value for the Mode parameter. This parameter accepts a WideString value.
Examples
Copy
Graphic.Pen('Style','DashDot');
Graphic.Pen('Color','Blue');
Graphic.Pen('Width','3');