CrosshairStyle Property
Syntax
CWCursor.CrosshairStyle
Data Type
You can use the following constants with this data type:
- cwCrosshairMajorX–If the point style is cwPointNone, a solid line is drawn.
- cwCrosshairMajorXMajorY–The crosshair has a long horizontal line and a long vertical line.
- cwCrosshairMajorXMinorY–The crosshair has a long horizontal line and a short vertical line.
- cwCrosshairMajorY–If the point style is cwPointNone, a solid line is drawn.
- cwCrosshairMinorX–The crosshair is a short horizontal line.
- cwCrosshairMinorXMajorY–The crosshair is a short horizontal line and a long vertical line.
- cwCrosshairMinorXMinorY–The crosshair is a short horizontal line and a short vertical line.
- cwCrosshairMinorY–The crosshair is a short vertical line.
- cwCrosshairNone–There is no crosshair.
Purpose
Specifies the type of lines that identify the cursor position.
Remarks
The enumeration permits a single horizontal line or a vertical line that stretches the width or height of the plot, short lines that are drawn close to the cursor position, and combinations of the two.
If the PointStyle is cwPointNone and the CrosshairStyle is cwCrosshairMajorX or cwCrosshairMajorY, the cursor appears as a solid line.