語言

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結合,結果將包含空的標記點陣列。 標記點依順時針排序。

適用於