MeasureItemEventArgs 构造函数   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 MeasureItemEventArgs 类的新实例。
重载
| MeasureItemEventArgs(Graphics, Int32) | 
						   初始化 MeasureItemEventArgs 类的新实例。  | 
        	
| MeasureItemEventArgs(Graphics, Int32, Int32) | 
						   初始化提供该项高度的参数的 MeasureItemEventArgs 类的一个新实例。  | 
        	
MeasureItemEventArgs(Graphics, Int32)
初始化 MeasureItemEventArgs 类的新实例。
public:
 MeasureItemEventArgs(System::Drawing::Graphics ^ graphics, int index);
	public MeasureItemEventArgs (System.Drawing.Graphics graphics, int index);
	new System.Windows.Forms.MeasureItemEventArgs : System.Drawing.Graphics * int -> System.Windows.Forms.MeasureItemEventArgs
	Public Sub New (graphics As Graphics, index As Integer)
	参数
- index
 - Int32
 
需要其高度或宽度的项索引。
适用于
MeasureItemEventArgs(Graphics, Int32, Int32)
初始化提供该项高度的参数的 MeasureItemEventArgs 类的一个新实例。
public:
 MeasureItemEventArgs(System::Drawing::Graphics ^ graphics, int index, int itemHeight);
	public MeasureItemEventArgs (System.Drawing.Graphics graphics, int index, int itemHeight);
	new System.Windows.Forms.MeasureItemEventArgs : System.Drawing.Graphics * int * int -> System.Windows.Forms.MeasureItemEventArgs
	Public Sub New (graphics As Graphics, index As Integer, itemHeight As Integer)
	参数
- index
 - Int32
 
需要其高度或宽度的项索引。
- itemHeight
 - Int32
 
相对于 graphics 对象的要测量的项高度。