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
graphicsGraphicsThe Graphics object being written to.
indexintThe index of the item for which you need the height or width.
itemHeightintThe height of the item to measure relative to the
graphicsobject.
MeasureItemEventArgs(Graphics, int)
Initializes a new instance of the MeasureItemEventArgs class.
public MeasureItemEventArgs(Graphics graphics, int index = 0)