Chart.GetChartElementOutline(Object, ChartElementType) 方法

定义

返回图表元素轮廓。

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

参数

chartElement
Object

图表元素。

elementType
ChartElementType

元素的类型。

返回

ChartElementOutline包含:

  • 绝对坐标中的点数组,可用作此图表元素周围的轮廓标记。

  • 用于 GraphicsPath 围绕此图表元素绘制轮廓的对象。

注解

chartElement如果不是图表的一部分,或者elementType不能与chartElement它组合,则结果将包含一个空的标记点数组。 标记点按顺时针排序。

适用于