Here is my sample VB.NET code that works fine.
Dim workbook As New Workbook()
Dim sheet As Worksheet = workbook.Worksheets(0)
Dim cells As Cells = sheet.Cells
Dim cell As Aspose.Cells.Cell = cells(“A1”)
cell.Style.SetTwoColorGradient(System.Drawing.Color.White, System.Drawing.Color.FromArgb(123,234,10), GradientStyleType.Horizontal, 1)
No this does not work.
Could you post a sample project here to show the issue? We will check it soon.