Gets or sets a list of counters to increment.
HRESULT IHTMLStyle6::get_counterIncrement(BSTR *p);HRESULT IHTMLStyle6::put_counterIncrement(BSTR v);
- Pointer to a variable of type BSTR that receives a space-delimited list of counters, including one or both of the values in Possible Values.
- BSTR that specifies a space-delimited list of counters, including one or both of the values in Possible Values.
identifier The name of the counter, optionally followed by an increment. increment An integer that indicates by how much the counter is incremented for every occurrence of the element. Zero and negative integers are allowed.
Returns S_OK if successful, or an error value otherwise.
The counter-increment attribute can contain a list of one or more counters, each one optionally followed by an integer. The integer represents the amount that the counter is incremented after each occurrence of an element.
This property is used to generate numbered content for each occurrence of an element. The counter need not be defined before it is incremented. To reset a counter value, use the counter-reset attribute.
This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.