The DsWord packages are fully supported on Visual Studio 2017 or later for Windows, Visual Studio for MAC, and Visual Studio Code for Linux and are compatible with the following:
DsWord references are available through NuGet, a Visual Studio extension that adds the required libraries and references to your project automatically. To work with DsWord, you need to have following references in your application:
Reference | Purpose |
---|---|
DS.Documents.Word | To use DsWord in an application, you need to reference (install) just the DS.Documents.Word package. It pulls in the required infrastructure packages. |
DS.Documents.Word.Layout | To enable saving Word documents to PDF, install the DS.Documents.Word.Layout package (DsWordLayout for short). It provides extension methods allowing to save DsWordDocument as PDF. |
DS.Documents.Imaging | For image handling, you need to reference (install) the DS.Documents.Imaging package. |
DS.Documents.DX.Windows | DS.Documents.DX.Windows is an infrastructure package. You do not need to reference it directly. |
Note: With v7.0, GrapeCity.Documents.Word (GcWord) package is renamed to DS.Documents.Word (DsWord). The namespaces and classes within DS.Documents.Word remain the same, which provide the same functionality and are backwards compatible with GrapeCity.Documents.Word, ensuring minimal impact on your existing projects.
To upgrade GcWord package to DsWord package in your existing projects, follow one of the below options:
In order to use DsWord in a .NET Core, ASP.NET Core, .NET Framework application (any target that supports .NET Standard 2.0), install the NuGet packages in your application using the following steps: