Constructor MeasureItemEventArgs
MeasureItemEventArgs(Graphics, int, int)
Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.
public MeasureItemEventArgs(Graphics graphics, int index, int itemHeight)
Parameters
graphics
GraphicsThe Graphics object being written to.
index
intThe index of the item for which you need the height or width.
itemHeight
intThe height of the item to measure relative to the
graphics
object.
MeasureItemEventArgs(Graphics, int)
Initializes a new instance of the MeasureItemEventArgs class.
public MeasureItemEventArgs(Graphics graphics, int index)