Chart.GetChartElementOutline(Object, ChartElementType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳圖表元素大綱。
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
參數
- elementType
- ChartElementType
元素的類型。
傳回
一個 ChartElementOutline 包含以下內容的物件:
一個絕對座標點陣列,可用作該圖表元素周圍的輪廓標記。
一個 GraphicsPath 用來在這個圖表元素周圍畫輪廓的物件。
備註
若 不 chartElement 屬於圖表,或 elementType 無法與 chartElement結合,結果將包含空的標記點陣列。 標記點依順時針排序。