【发布时间】:2010-10-18 10:32:35
【问题描述】:
我目前正在使用类似的方法在单元格中插入内联字符串:
new Cell()
{
CellReference = "E2",
StyleIndex = (UInt32Value)4U,
DataType = CellValues.InlineString,
InlineString = new InlineString(new Text( "some text"))
}
但是\n 不能插入换行符,我该怎么做?
回应
new Cell(
new CellValue("string \n string")
)
{
CellReference = "E2",
StyleIndex = (UInt32Value)4U,
DataType = CellValues.String
}
【问题讨论】:
标签: c# cell openxml spreadsheet line-breaks