XDoc.Word
Features
Tech Specs
How-to C#
Pricing

C# Word Library
How to C#: Install, Deploy and Distribute XDoc.Word


Online C# Guide for XDoc.Word Installation, Deployment and Distribution




There are two parts on this page, including system requirements for using XDoc.Word, and how to install XDoc.Word into visual studio C# .NET Applications.




System Requirements



Windows XP SP3 or later


Microsoft .NET Framework 2.0 or later




Install XDoc.Word in C# Project





Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project references;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.Word.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.Word;


Add the following C# demo code to your project (Word to Png conversion demo).




// Convert Word file to Png image.
DOCXDocument docx = new DOCXDocument(filePath);
docx.ConvertToImages(ImageType.PNG, @"C:\output\", "test");