首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

excel单元格设立透明色

2013-07-11 
excel单元格设置透明色要设置透明色excelRange.Cells.Interior.Color System.Drawing.Color.FromArgb(x,

excel单元格设置透明色
要设置透明色
excelRange.Cells.Interior.Color = System.Drawing.Color.FromArgb(x,x,x,x).ToArgb(); 

FromArgb()中的参数该怎么给?
[解决办法]

excelRange.Cells.Interior.ColorIndex = 0;

热点排行