Editar

Compartilhar via


MeasureItemEventArgs Constructors

Definition

Initializes a new instance of the MeasureItemEventArgs class.

Overloads

MeasureItemEventArgs(Graphics, Int32)

Initializes a new instance of the MeasureItemEventArgs class.

MeasureItemEventArgs(Graphics, Int32, Int32)

Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.

MeasureItemEventArgs(Graphics, Int32)

Initializes a new instance of the MeasureItemEventArgs class.

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)

Parameters

graphics
Graphics

The Graphics object being written to.

index
Int32

The index of the item for which you need the height or width.

Applies to

MeasureItemEventArgs(Graphics, Int32, Int32)

Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.

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)

Parameters

graphics
Graphics

The Graphics object being written to.

index
Int32

The index of the item for which you need the height or width.

itemHeight
Int32

The height of the item to measure relative to the graphics object.

Applies to