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
新缩放视图大小的度量单位。