no color is produced:
Workbook workbook = new Workbook();
Worksheet sheet = workbook.Worksheets[0];sheet.Name =
"test";
Cells cells = sheet.Cells;cells[0, 0].PutValue(
"HERE");
cells[0, 0].Style.Font.IsBold = true;cells[0, 0].Style.BackgroundColor =
Color.Yellow;
workbook.Save("tes7t.xls");
This message was posted using Aspose.Live 2 Forum
Hi,
Please change your code to:
Workbook workbook = new Workbook();
Worksheet sheet = workbook.Worksheets[0];
sheet.Name = "test";
Cells cells = sheet.Cells;cells[0, 0].PutValue("HERE");
cells[0, 0].Style.Font.IsBold = true;
cells[0, 0].Style.ForegroundColor = Color.Yellow;
cells[0, 0].Style.Pattern = BackgroundType.Solid;
workbook.Save("tes7t.xls");
for further reference, please check the following thread:
<A href="</A></P>
<P> </P>
<P>Thank you.</P>