Chart.GetChartElementOutline(Object, ChartElementType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the chart element outline.
public:
System::Windows::Forms::DataVisualization::Charting::ChartElementOutline ^ GetChartElementOutline(System::Object ^ element, System::Windows::Forms::DataVisualization::Charting::ChartElementType elementType);
public System.Windows.Forms.DataVisualization.Charting.ChartElementOutline GetChartElementOutline (object element, System.Windows.Forms.DataVisualization.Charting.ChartElementType elementType);
member this.GetChartElementOutline : obj * System.Windows.Forms.DataVisualization.Charting.ChartElementType -> System.Windows.Forms.DataVisualization.Charting.ChartElementOutline
Public Function GetChartElementOutline (element As Object, elementType As ChartElementType) As ChartElementOutline
Parameters
- elementType
- ChartElementType
The type of the element.
Returns
A ChartElementOutline object that contains:
An array of points in absolute coordinates that can be used as outline markers around this chart element.
A GraphicsPath object for drawing an outline around this chart element.
Remarks
If the chartElement
is not part of the chart, or the elementType
cannot be combined with chartElement
, the result will contain an empty array of marker points. The marker points are sorted clockwise.
Applies to
.NET