Region
Definition
Represents an interface that exposes information regarding a Region IDrawingTool.
Represents an interface that exposes information regarding a Region IDrawingTool.
| Parameter | Description |
|---|---|
| StartAnchor | An IDrawingTool’s ChartAnchor representing the starting point of the drawing object |
| EndAnchor | An IDrawingTool’s ChartAnchor representing the starting point of the drawing object |
| AreaOpacity | An int value representing the opacity of the area color |
| AreaBrush | A Brush object representing the fill color of the draw object |
| OutlineStroke | A Stroke used for the outline of the region |
1 // Instantiate a Region object 2 Region myRegion = Draw.Region(this, "tag1", CurrentBar, 0, Bollinger(2, 14).Upper, Bollinger(2, 14).Lower, null, Brushes.Blue, 50); 3 4 // Set the object's OutlineStroke to a new Stroke 5 myRegion.OutlineStroke = new Stroke(Brushes.Red, DashStyleHelper.Solid, 3);