ViewEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ViewEventArgs 類別的新執行個體。
多載
ViewEventArgs(Axis, Double) |
使用指定的 |
ViewEventArgs(Axis, Double, Double, DateTimeIntervalType) |
使用指定的 |
ViewEventArgs(Axis, Double)
使用指定的 axis
和 newPosition
參數,初始化 ViewEventArgs 類別的新執行個體。
public:
ViewEventArgs(System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newPosition);
public ViewEventArgs (System.Windows.Forms.DataVisualization.Charting.Axis axis, double newPosition);
new System.Windows.Forms.DataVisualization.Charting.ViewEventArgs : System.Windows.Forms.DataVisualization.Charting.Axis * double -> System.Windows.Forms.DataVisualization.Charting.ViewEventArgs
Public Sub New (axis As Axis, newPosition As Double)
參數
- axis
- Axis
刻度檢視的座標軸。
- newPosition
- Double
新刻度檢視的起始位置。
適用於
ViewEventArgs(Axis, Double, Double, DateTimeIntervalType)
使用指定的 axis
、newPosition
、newSize
和 newSizeType
參數,初始化 ViewEventArgs 類別的新執行個體。
public:
ViewEventArgs(System::Windows::Forms::DataVisualization::Charting::Axis ^ axis, double newPosition, double newSize, System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType newSizeType);
public ViewEventArgs (System.Windows.Forms.DataVisualization.Charting.Axis axis, double newPosition, double newSize, System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType newSizeType);
new System.Windows.Forms.DataVisualization.Charting.ViewEventArgs : System.Windows.Forms.DataVisualization.Charting.Axis * double * double * System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType -> System.Windows.Forms.DataVisualization.Charting.ViewEventArgs
Public Sub New (axis As Axis, newPosition As Double, newSize As Double, newSizeType As DateTimeIntervalType)
參數
- axis
- Axis
刻度檢視的座標軸。
- newPosition
- Double
新刻度檢視的起始位置。
- newSize
- Double
新刻度檢視的大小。
- newSizeType
- DateTimeIntervalType
新刻度檢視大小的測量單位。