通过C#在Word文档中查找分行符的位置

时间:2020-07-10 06:55:18

标签: c# ms-word office-interop

我有一个Word文档。在本文档中,我有一个分栏符。现在,我想获取此分栏符的位置。我希望你能帮助我解决我的问题。 感谢您的观看。

int ColumnBreak()
{
    if (_activeDoc.Content.Find.Execute(FindText: "^n"))
             MessageBox.Show("This document has break column");
//I don't know how to find the position of this column break
    return 1;
}

0 个答案:

没有答案
相关问题