SSpread.SetOddEvenRowColor Method
| Explanation | Set the background color and text color for the odd-numbered and even-numbered lines, respectively. If you have set the BackColor or ForeColor properties on individual cells, columns, or rows, those settings take precedence. If you want to get the background color and text color set for odd and even rows, use the GetOddEvenRowColor method. | |
| Call format | SetOddEvenRowColor(backodd, foreodd, backeven, foreeven) | |
| Return value | None | |
| Arguments | backodd | Background color for odd rows |
| foreodd | Text color of odd-numbered rows | |
| backeven | Even row background color | |
| foreeven | Text color of even-numbered rows | |
| Exception | EXT-28 | An error occurred in the SetOddEvenRowColor method |
| Example of use | | |
| Related item | BackColor, ForeColor properties GetOddEvenRowColor method | |