MeasureItemEventArgs Konstruktory

Definice

Inicializuje novou instanci MeasureItemEventArgs třídy.

Přetížení

MeasureItemEventArgs(Graphics, Int32)

Inicializuje novou instanci MeasureItemEventArgs třídy.

MeasureItemEventArgs(Graphics, Int32, Int32)

Inicializuje novou instanci MeasureItemEventArgs třídy poskytující parametr pro výšku položky.

MeasureItemEventArgs(Graphics, Int32)

Inicializuje novou instanci MeasureItemEventArgs třídy.

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)

Parametry

graphics
Graphics

Objekt Graphics , do kterého se zapisuje.

index
Int32

Index položky, pro kterou potřebujete výšku nebo šířku.

Platí pro

MeasureItemEventArgs(Graphics, Int32, Int32)

Inicializuje novou instanci MeasureItemEventArgs třídy poskytující parametr pro výšku položky.

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)

Parametry

graphics
Graphics

Objekt Graphics , do kterého se zapisuje.

index
Int32

Index položky, pro kterou potřebujete výšku nebo šířku.

itemHeight
Int32

Výška položky, která se má měřit vzhledem k objektu graphics .

Platí pro