I am having trouble with color. The following snippet:
Dim OpenCellInfDialog As New OpenFileDialog
OpenCellInfDialog.Title = "Import Cell Information Excel file"
OpenCellInfDialog.Filter = "Cell Inf. Excel Files (*.xls)|*.xls"
If OpenCellInfDialog.FileName <> "" Then
'Freeze first row.
Dim Sheet As Aspose.Grid.Desktop.Worksheet = grdCellInf.GetActiveWorksheet()
Sheet.FrozenRows = 1
'Color first row beige
Dim row As Aspose.Grid.Desktop.GridRow = Sheet.Rows(0)
Dim Style As Aspose.Grid.Desktop.Style = row.GetStyle()
Style.Color = Color.Beige
The Excel file loads and first row freezes as it should, but does not get colored beige. Can't figure out what I am doing wrong with the color.