set_count


Description:

[ Version ( since = "3.0" ) ]
public void set_count (int count)

Sets the currently displayed value of this to count.

The numeric value is always clamped to make it two digits, i.e. between -99 and 99. Setting a count of zero removes the emblem. If this method is called, and a label was already set on the icon, it will automatically be reset to null before rendering the number, i.e. the last method called between set_count and set_label has always priority.

Parameters:

this

a NumerableIcon

count

a number between -99 and 99