語言

MeasureItemEventArgs 建構函式

定義

初始化 MeasureItemEventArgs 類別的新執行個體。

多載

名稱 Description
MeasureItemEventArgs(Graphics, Int32)

初始化 MeasureItemEventArgs 類別的新執行個體。

MeasureItemEventArgs(Graphics, Int32, Int32)

初始化類別的新實例 MeasureItemEventArgs ,提供項目高度的參數。

MeasureItemEventArgs(Graphics, Int32)

來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs

初始化 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)

參數

graphics
Graphics

Graphics被寫入的對象。

index
Int32

你需要標示高度或寬度的項目索引。

適用於

MeasureItemEventArgs(Graphics, Int32, Int32)

來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs
來源:
MeasureItemEventArgs.cs

初始化類別的新實例 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)

參數

graphics
Graphics

Graphics被寫入的對象。

index
Int32

你需要標示高度或寬度的項目索引。

itemHeight
Int32

物體相對於 graphics 物體的高度。

適用於