MeasureItemEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 MeasureItemEventArgs 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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 物體的高度。