简体   繁体   English

如何使用c#在MS word评论中添加指向网页的超链接

[英]how to add a hyperlink to a webpage in the MS word comment using c#

I can only create a hyperlink in the document.我只能在文档中创建超链接。 But I want to create it in the comment box.但我想在评论框中创建它。 How can this be done?如何才能做到这一点?

I suggest checking out the Open XML SDK.我建议查看 Open XML SDK。 It allows .NET apps to create or modify MS Office files.它允许 .NET 应用程序创建或修改 MS Office 文件。 Here's where to get started: https://msdn.microsoft.com/en-us/library/office/bb448854.aspx这里是开始的地方: https : //msdn.microsoft.com/en-us/library/office/bb448854.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM