This project has moved. For the latest updates, please go here.
1
Vote

Cell.FillColor Alpha Issue

description

Hello,
The getter of FillColor in property Cell.FillColor doesn't value the Alpha component of the Color.

Simply prefix an FF of the string value :
string colorValue = "FF" + fill.Value.Replace("#", "");
int argb = Int32.Parse(colorValue, NumberStyles.HexNumber);
return Color.FromArgb(argb);
Regards,
Yann

comments

BoucherS wrote Apr 27 at 7:07 PM

There is no alpha in a word document for shading.