如何在 MS Word 表格单元格中将部分文本设为粗体?
我有一个使用 MS Word 文档的 C# 应用程序。 我有一些表格,其中单元格中的某些文本需要粗体。 有办法做到吗?
I have a C# application which uses an MS Word document. I have tables where some of the text in a cell needs to be bold. Is there a way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设您正在使用 Microsoft Office Interop。
我发现的例子:
http://www.c-sharpcorner.com/Forums/ShowMessages。 aspx?ThreadID=48632 说:
同样在您的应用程序中使用它。
否则,如果您使用 HTML 表,那么一种肮脏的方法是使用
html 标签。
I assume you are using Microsoft Office Interop.
The example which I found on:
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=48632 says:
Similarly use it in your App.
Else if you are using HTML Tables, then a dirty way is to use
html tags.