Annotation.SetAnchor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將註釋錨定至一或多個資料點。
多載
SetAnchor(DataPoint) |
將註釋錨定到指定的資料點。 |
SetAnchor(DataPoint, DataPoint) |
將註釋錨定至兩個資料點。 |
SetAnchor(DataPoint)
將註釋錨定到指定的資料點。
public:
void SetAnchor(System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint);
public void SetAnchor (System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint);
member this.SetAnchor : System.Windows.Forms.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint As DataPoint)
參數
備註
將註釋錨定到指定的資料點。
適用於
SetAnchor(DataPoint, DataPoint)
將註釋錨定至兩個資料點。
public:
void SetAnchor(System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint1, System::Windows::Forms::DataVisualization::Charting::DataPoint ^ dataPoint2);
public void SetAnchor (System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1, System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2);
member this.SetAnchor : System.Windows.Forms.DataVisualization.Charting.DataPoint * System.Windows.Forms.DataVisualization.Charting.DataPoint -> unit
Public Sub SetAnchor (dataPoint1 As DataPoint, dataPoint2 As DataPoint)
參數
備註
將批註左上角和右下角錨定至指定的資料點。