HorizontalLine

View as Markdown

Definition

Represents an interface that exposes information regarding a Horizontal Line IDrawingTool.

Methods and Properties

PropertyDescription
StartAnchorAn IDrawingTool’s ChartAnchor representing the starting point of the drawing object
StrokeA Stroke object used to draw the object

Examples

1// Instantiate a HorizontalLine object
2HorizontalLine myLine = Draw.HorizontalLine(this, "tag1", 1000, Brushes.Black);
3
4// Set a new Stroke for the object
5myLine.Stroke = new Stroke(Brushes.Green, DashStyleHelper.Dash, 5);