如何使用C#在novocode DocX中缩进项目符号列表
我使用了IndentationFirstLine属性,但它不能正常工作。
我需要使用C#在Novacode-DocX中缩进一个项目符号列表。
有什么想法吗?
发布于 2016-06-03 15:27:42
我自己找到的。循环遍历生成的列表,如下所示:
foreach (Paragraph pItem in list.Items)
{
pItem.IndentationBefore = int.Parse(IndentLeftValue);
}列表项实际上是您可以设置缩进的段落
https://stackoverflow.com/questions/36312462
复制相似问题