Guide for C#
Core Document Formats
Additional Features
Word to Image

C# Imaging - Convert Word to Image in C#.NET

Visual C# .NET Word to Image Conversion / Converter Library API

Visual C#
Home > .NET Imaging SDK > C# > Convert Word to Image
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C#.NET Word to Image Conversion Overview
RasterEdge Word to image converting control add-on is designed to help .NET programmers convert your Microsoft Office Word document (doc and docx file) to any type of raster image file formats, like PNG, JPEG, TIFF, GIF and BMP, using .NET-compliant programming language C#. vb net barcode scanner, azure pdf generation, pdf to jpg c#, view pdf in asp net mvc, pdf to thumbnail converter c#, how to read tiff image in c#. Using this C#.NET Word to image converter library component, C# developers can get a high-quality output image which maintains all content of original Word document file.
Related .net document control helps:
asp.net annotate pdf: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net edit pdf text: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
RasterEdge C#.NET Word to image converter assembly toolkit is a fully-featured third-party document converting SDK. itextsharp read pdf fields vb.net, convert pdf to word using interop c#, how to crop pdf page and save as image in c#, convert powerpoint to pdf c#, convert excel to pdf using vb.net, microsoft print to pdf c#, vb.net preview pdf file. Here we bring you a short list of all its supported Word to image converting functions.
  • 100% managed .NET solution that is able to convert Doc or Docx Word file into editable images using C#
  • Able to convert multi-page Word document to separate image files by C# programming code
  • Able to convert one specified Word page to one defined image file format using C#.NET
  • Output image files (converted from one Word document) are in the same name format
  • Original text, tables, images and layout of source Word document will be fully preserved into converted image file by C# code
  • Built in .NET Framework 2.0 and offer royalty-free licenses for C# developers
Now please have a look at the article layout of this tutorial page for how to convert Word document to image file by Visual C# programming code. asp net replace text fro pdf free, asp.net remove image from pdf page, asp net show word document in browser, how to edit pdf file using itextsharp in asp.net, asp net mvc show pdf in div, how to display pdf file in asp.net c#, asp.net core pdf preview.
  • How to start Word to image conversion using RasterEdge C#.NET Word to image converter add-on
  • C#.NET method to convert Word document to image type
  • Sample C# code for fast and accurate Word to image conversion in .NET class application
  • C#.NET Word to image conversion FAQs
This C#.NET Word to image conversion control toolkit is only a component of RasterEdge .NET document image converting SDK, which provides comprehensive and advanced converting functions for both documents and image files. Therefore, if needed, you can also try C#.NET PDF to image conversion control.
Word to Image Conversion in C#.NET
RasterEdge Word to image converter library control is an easy to use third-party .NET solution, which can be easily deployed in both ASP.NET web application and Windows Forms project as a C#.NET project reference. Here we will guide you how to install this Word to image converting control to your C#.NET class project.
  1. Open a C#.NET class project using Microsoft Visual Studio 2005 (Later Versions are also suitable for this C#.NET Word to image converter control.);
  2. Integrate following dlls (which can be found in the trial package of RasterEdge DocImage SDK for .NET and are used to convert Word to image) into your C#.NET class application by adding reference directly;
    • RasterEdge.Imaging.Basic.dll
    • RasterEdge.Imaging.MSWordDocx.dll
  3. Place the evaluation license key of this RasterEdge Word to image converter add-on (which can be easily acquired by just running the executive file "RasterEdge.Imaging License Manager.exe") at your C# project bin folder;
  4. Now you can convert multi-page Word document into desired image file format in C#.NET class application.
C# Method to Convert Word to Image
These RasterEdge Word to image converting methods can easily convert Word document file (2003 or 2007 version) to several image formats using C#.NET.
/// Render Word document to get a REImage collection, or choose a specific Word page to render DOCXDocument(List<REImage> imgs);
BasePage DOCXDocument.GetPage(int pageIndex);
BaseImage DOCXPage.toImage();
BaseImage DOCXPage.toImage(int width, int height);

/// Convert rendered REImage into image format using image converting API
void REImage.Convert(Stream s, ImageFormat format);
C# Demo Code to Convert Word to Image
The following C# programming example will help developers convert a multi-page Word document file to TIF images using page to page conversion. Also, you can convert Word to other image formats, like png, gif, jpeg, bmp, svg, etc.
public TIFFDocument FromDOCXToTIFF(String wordFilePath)
{
List imageCollection = new List();
using (DOCXDocument doc = new DOCXDocument(wordFilePath))
{
//Render DOCXPage to REImage
for (int i = 0; i < doc.GetPageCount(); i++)
{
imageCollection.Add((REImage)doc.GetPage(i).ToImage());
}

}

// Construct TIFFDocument from image obtained from rendering DOCXPage
return newTIFFDocument(imageCollection);

// You can also specify which compression to use for each tiff page if you have a preferred one
/* List tifCompressionList = new List();
tifCompressionList.Add(TIFFCompression.CCITT1D);
return new TIFFDocument(imageCollection,tifCompressionList)*/
}
C# Word to Image Converting FAQs
Q: Does RasterEdge C#.NET Word to image converting library help me convert one specified Word page (selected from a multi-page Word document) into jpeg image file?
A: Yes, RasterEdge Word to image converter add-on allows developer to select one certain Word page and convert it to image file, including jpeg, using C# code.


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2024 Raster Edge.com