我们今天发布了Spire.XLS 8.4.6。在该版本中,我们添加了两个新功能,并主要修复了操作Excel文档中出现的一些问题,比如将Excel 转换为PDF, Excel保存为图片等。具体更新内容如下: 新功能: 添加了新功能在转换sheet到HTML时指定图片的位置类型。 HTMLOptions opt = new HTMLOptions(); opt.ImageLocationType = ImageLocationTypes.TableRelative; //opt.ImageLocationType = ImageLocationTypes.GlobalAbsolute; sheet.SaveToHtml(string fileName, HTMLOptions saveOption); 添加了一系列新的接口创建条件格式。 XlsConditionalFormats xcfs = sheet.ConditionalFormats.Add(); xcfs.AddAverageCondition(AverageType averageType) xcfs.AddBeginsWithCondition(string text); xcfs.AddCellValueCondition(ComparisonOperatorType operatorType, double value1, double value2);…