OpenSTAAD V8i
Sets the color of the text to be displayed in a particular cell. By default, the color is always set to black.
Where:
Long variable containing the report number.
Long variable containing the table number.
Long variable containing the row number.
Long variable containing the column number.
An integer between 0 and 255 that represents the intensity of red, green or blue in the color for the text. A value of 0 for a particular color indicates that no shade of that color will be mixed into the final color.
For example, to have the text written in yellow, the values would be RedVal = 255, GreenVal = 255 and BlueVal = 0.
'Get the application object --
Dim RedVal As Integer
Dim GreenVal As Integer
Dim BlueVal As Integer
'Set the text to yellow
RedVal = 255
GreenVal = 255
BlueVal = 0
objOpenSTAAD.Table.SetCellTextColor ReportNo, TableNo, RowNo, ColNo, RedVal, GreenVal, BlueVal