c# - 通过C#在word文档中查找分栏符的位置
问题描述
我有一个 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;
}
解决方案
推荐阅读
- python - 如何使用美丽的汤将标签内容输出到 CSV?
- ios - 我无法使用 MobileVLCKit 快速编译我的自定义框架
- python - Python不是标准列表排序
- python - 使用 PDFMiner.six Python3 将奇怪的字符打印到文件中
- javascript - 为什么使用无状态功能组件而不是基于类的组件?
- java - 构建任务和 sourceCompatibility = 1.7, gradle 5.3 的问题
- ssl - 如何在 Go 中建立与 memsql 的基于 ssl 的 tcp 连接
- ruby-on-rails - 调用model.save有什么效果!在 save_change_to_attribute 的 after_create 回调中?在 after_save 回调中?
- rest - 使用 Retry-After 标头响应非 503/3xx
- c++ - 在 C++ 中用于树数据结构的方法链接期间传递的相同地址?