今天,我们发布了Spire.Doc 8.4.10,该版本支持获取表格中对角线的属性,并修复了转换和处理Word文档出现的一些问题。具体更新如下。
新功能:
- 支持获取表格以及表格单元格的对角线边框属性。
//获取表格的对角线属性
BorderStyle bs_UP = table.TableFormat.Borders.DiagonalUp.BorderType;
Color color_UP = table.TableFormat.Borders.DiagonalUp.Color;
float width_UP = table.TableFormat.Borders.DiagonalUp.LineWidth;
BorderStyle bs_Down = table.TableFormat.Borders.DiagonalDown.BorderType;
Color color_Down = table.TableFormat.Borders.DiagonalDown.Color;
float width_Down = table.TableFormat.Borders.DiagonalDown.LineWidth;
//获取表格单元格的对角线属性
bs_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.BorderType;
width_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.LineWidth;
color_UP = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalUp.Color;
bs_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.BorderType;
color_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.Color;
width_Down = table[rowIndex, columnIndex].CellFormat.Borders.DiagonalDown.LineWidth;
问题修复:
- 修复了Word转到PDF内容不正确的问题。
- 修复了Word转到图片抛异常"未将对象引用设置到对象的实例"的问题。
- 修复了插入HTML文本导致域的结构被破坏的问题。
- 修复了加载文档抛异常“输入的字符串格式不正确”的问题。
- 修复了插入Advance域存在额外的双引号的问题。
- 修复了插入HTML文本抛异常“索引超出范围”的问题。
- 修复了更新域后保存文档抛异常“mscorlib.dll中发生了'System.StackOverflowException'类型的未处理异常”的问题。
获取Spire.Doc 8.4.10,请点击: