Hi Yannis,
Thank you for considering Aspose products.
Following are the answers of your questions:
Question #1: Fill a cell with color
//Instantiating a Workbook object
Workbook workbook = new Workbook();
// Add sky blue color to the palette.
workbook.ChangePalette(System.Drawing.Color.SkyBlue, 55);
//Obtaining the first worksheet by passing its sheet index
Worksheet worksheet = workbook.Worksheets[0];
//Now setting the foreground color of the "A1" cell to sky blue
worksheet.Cells["A1"].Style.ForegroundColor = Color.SkyBlue;
//Setting the background pattern of the "A1" cell to solid
worksheet.Cells["A1"].Style.Pattern = BackgroundType.Solid;
//Saving the Excel file
workbook.Save("C:\\cellBGtest.xlsx", SaveFormat.Excel97To2003);
workbook.Save("C:\\cellBGtest.xlsx", SaveFormat.Xlsx);
Question #2: Property for Width
//Accessing the worksheet of the Grid that is currently active
Worksheet sheet = gridDesktop1.GetActiveWorksheet();
//Accessing the first column of the worksheet
GridColumn column = sheet.Columns[0];
//Setting the width of the column
column.Width = 100;
GridRow row = sheet.Rows[0];
//Setting the height of the row
row.Height = 100;
Also:
worksheet.AutoFitRow(rowIndex);
worksheet.AutoFitColumn(colimnIndex);
Question #3: Aspose.Cells used in Delphi Application
It should work. However, if you encounter any issue, you may post the inquiry on the forum. We will answer the query.
Question #4: Excel 2010
Sure the new version does support Excel 2010. Generally MS Excel 2010 has similar formats as MS Excel 2007 with some extra enhancements for some features, also it has some new features that MS Excel 2007 does not provide, e.g sparklines etc.. so, our products does support MS Excel 2010. If any specific feature for Excel 2010 is not supported yet, we will include it on your request.
Thanks,