Chart.GetChartElementOutline(Object, ChartElementType) 方法

定义

返回图表元素轮廓。

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

参数

element
Object

Chart 对象。

elementType
ChartElementType

元素的类型。

返回

ChartElementOutline包含:

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

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

注解

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

适用于