Guide for C#
Core Document Formats
Word to Other Raster Image Formats (Gif, Jpeg, Png)
Additional Features

C# Word - Render and Convert Word to Raster Images

Use C# APIs and Demo Code to Render & Convert Word Page to Raster Images

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

Render Word to Raster Images in C#
Word Document Add-on Library of RasterEdge DocImage SDK for .NET is well designed to empower users to create comprehensive C# Word Windows and web converting applications. With this C#.NET Word rendering and converting solution, users are capable of converting Word document to raster images.
Related .net document control helps:
c# mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
c# powerpoint viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
c# text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
c# tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control sharepoint document viewer open source: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
c# word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
To be specific, we support rendering and converting Word document page to these raster image formats in C#.NET program: standard image compression format - JPEG, bitmap image file format for lossless, portable, well-compressed storage of raster (bitmap) image form - PNG, bitmap image format developed by CompuServe and popular for its LZW data compression - GIF, and standard image file format on Microsoft Windows operating systems - BMP.
What makes our C# Word converter outstanding in the market is that this Word document converter is easy to configure and it can be used independently without using any third-party plugins. Furthermore, users have access to many other amazing Word document viewing and manipulating functions, such as Word annotating, processing, barcode reading & generating, etc.
Article layout of this Word to raster images conversion guide page.
  • Main function list of Word to raster images rendering and converting in C#
  • C# APIs for converting Word document to raster images
  • Comprehensive C# sample code for Word to raster PNG image conversion
C# Word Conversion to Raster Images Function List
  • Easy to render Word document (pages) to an image collection first in Visual C# programming
  • Convert rendered image collection to supported raster images in C# at a time, including JPEG, PNG, BMP and GIF
  • Highly customizable Word document rendering application supports defining any target Word page to be rendered and converted
  • Free to control Word converting progress by setting options like image size or resolution in C#.NET
  • Provide C# programmers with affordable licenses for DocImage SDK for .NET Core DLLs and Word Add-on DLL
C# APIs for Converting Word to Raster Images
Actually, there are two steps for implementing conversion from Word to raster images (JPEG, PNG, BMP and GIF) in C#.NET. Firstly, use .NET rendering APIs to render all pages or a specific Word page to our designed REImage collection/object. And then, use REImage as intermediate transit to convert Word page(s) to supportive raster image formats. C#.NET users can implement following APIs to your C# application to work out these two procedures for Word conversion to raster images.
// in DOCXDocument
void ConvertToImages(ImageType target, String directory, String fileName);
void ConvertToImages(ImageType targetType, float zoomValue, String directory, String fileName);

// in DOCXPage
void ConvertToImage(ImageType toType,String filePath);
void ConvertToImage(ImageType toType, float zoomValue, String filePath);
C# Sample Code for Converting Multi-page Word to Raster PNG Images
The following code tab contains comprehensive Visual C#.NET sample code for conversion from Word document to raster PNG images. If you want to get more tutuorials for converting Word to other files, please see Word document to TIFF image conversion in C#.NET, Word document to vector SVG image conversion in C#.NET and Word conversion to PDF document in C#.NET.
// load a Word document
DOCXDocument doc = new DOCXDocument(@"c:\sample.docx");

// convert all Word document pages to PNG files
// page index will automatically append to the file name
doc.ConvertToImages(ImageType.PNG, @"c:\Test\", "sample");

// convert single page to PNG
DOCXPage page = (DOCXPage)doc.GetPage(0);
page.ConvertToImage(ImageType.PNG, @"c:\Test\sample1.png");

// convert to PNG with a zoom in factor of 2f
page.ConvertToImage(ImageType.PNG,2f, @"c:\Test\sample1.png");

Recommend this to Google+ 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-2017 Raster