語言

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

適用於