Link Search Menu Expand Document

SSpread.GetOddEvenRowColor Method

Explanation Gets the background color and text color set for odd-numbered and even-numbered lines.

Use the SetOddEvenRowColor method to set the background and text colors for odd and even rows.
Call format GetOddEvenRowColor()
Return value Record object with the following child objects
Type Name Description
Number
UString
BackOdd Background color for odd rows
Number
UString
ForeOdd Character color of odd rows
Number
UString
BackEven Even row background color
Number
UString
ForeEven Even row text color
Arguments None
Exception EXT-28 An error occurred in the GetOddEvenRowColor method
Example of use
    SetOddEvenRowColor($CCFFFF, $006666, $FFFFCC, $666600);
    var ret = GetOddEvenRowColor();
    print(ret.BackOdd, ret.ForeOdd, ret.BackEven, ret.ForeEven, "\n");
    
Related item SetOddEvenRowColor method