แก้ไข

แชร์ผ่าน


Chart.GetChartElementOutline(Object, ChartElementType) Method

Definition

Returns the chart element outline.

public:
 System::Web::UI::DataVisualization::Charting::ChartElementOutline ^ GetChartElementOutline(System::Object ^ chartElement, System::Web::UI::DataVisualization::Charting::ChartElementType elementType);
public System.Web.UI.DataVisualization.Charting.ChartElementOutline GetChartElementOutline (object chartElement, System.Web.UI.DataVisualization.Charting.ChartElementType elementType);
member this.GetChartElementOutline : obj * System.Web.UI.DataVisualization.Charting.ChartElementType -> System.Web.UI.DataVisualization.Charting.ChartElementOutline
Public Function GetChartElementOutline (chartElement As Object, elementType As ChartElementType) As ChartElementOutline

Parameters

chartElement
Object

The chart element.

elementType
ChartElementType

The type of 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