Constructor MeasureItemEventArgs
MeasureItemEventArgs(Graphics, int, float)
Initializes a new instance of the MeasureItemEventArgs class providing a parameter for the item height.
public MeasureItemEventArgs(Graphics graphics, int index, float itemHeight)
Parameters
graphicsGraphicsThe Graphics object being written to.
indexintThe index of the item for which you need the height or width.
itemHeightfloatThe 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)