Chart.GetChartElementOutline(Object, ChartElementType) Chart.GetChartElementOutline(Object, ChartElementType) Chart.GetChartElementOutline(Object, ChartElementType) Chart.GetChartElementOutline(Object, ChartElementType) Method

Definition

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

element
Object Object Object Object

The Chart object.

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