Opening Word (.docx) files on a Windows Form C#

前端 未结 2 1227
猫巷女王i
猫巷女王i 2020-12-18 11:29

I\'m trying to make my program have the ability to display a Microsoft Word file on a form but not having any luck in doing so. I want to be able to open the file and displa

2条回答
  •  既然无缘
    2020-12-18 11:47

    You need a DOCX viewer control. My company recently gave away our multi-format WinForms viewer control as a free product - XtremeDocumentStudio .NET Free. It can display DOCX and is available on NuGet. It does not require a Web Browser control for embedding an online viewer or Word software installed locally. http://www.nuget.org/packages/XtremeDocumentStudio.NETFree/

    enter image description here

提交回复
热议问题