Επεξεργασία

Κοινή χρήση μέσω


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

The Chart object.

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