Bahasa Indonesia Français Tiếng Việt فارسی Deutsch Italiano Türkçe ภาษาไทย English Polski Русский 日本語 Español Português (Brasil) العربية

Convert Word to Images in C#

Wordize for .NET converts Word pages to images with high-quality rendering. The Converter class transforms Word documents to image formats while preserving all visual elements.

Module Requirements:
  • Core for .NET - base module for conversion operations
  • Rendering for .NET - for image format export

.NET API Features for Word to Image Conversion

  • ConvertToImages() method for Word page to image transformation
  • Configure image resolution and quality
  • Support for multiple image formats
  • Merge Word pages into a single image

Common Word to Image Conversion Scenarios

  • Web previews: create image previews of Word for corporate portals
  • Mobile applications: adapt Word content for viewing on smartphones and tablets
  • Catalogs: generate images from Word for online stores
  • Presentations: export Word pages as images for PowerPoint and Keynote

Test Word to image conversion using our interactive online demo. Upload your Word document, run the conversion, and download high-quality images. The provided C# code is ready for integration into your .NET project.

Run code
Test Wordize SDK - upload a document and explore code examples
  • PNG
  • BMP
  • EMF
  • GIF
  • SVG
  • TIFF
  • JPG
Select output format from the list
using Wordize.Conversion;
using Wordize.Saving;

var imageStreams = Converter.ConvertToImages("Input.docx", new ImageSaveOptions(SaveFormat.Jpg));

foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
    using var _ = stream;
    stream.Position = 0;

    using var file = File.Create($"Output_{page + 1}.jpg");
    stream.CopyTo(file);
}
using Wordize.Conversion; Converter.Convert("{{input1}}", "{{output}}"); using Wordize.Conversion; using Wordize.Saving; var imageStreams = Converter.ConvertToImages("{{input1}}", new ImageSaveOptions(SaveFormat.{{saveFormat}})); foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i))) { using var _ = stream; stream.Position = 0; using var file = File.Create($"Output_{page + 1}.{{outputExt}}"); stream.CopyTo(file); } using Wordize.Conversion; using Wordize.Saving; ImageSaveOptions saveOptions = new ImageSaveOptions(SaveFormat.{{saveFormat}}); saveOptions.PageLayout = MultiPageLayout.Vertical(10); Converter.Create() .From("{{input1}}") .To("{{output}}", saveOptions) .Execute();
Run code

How to Convert Word to image in C#

  1. 1
    Add Wordize for .NET to your project

    Add Wordize SDK to your .NET project

  2. 2
    Convert Word to image programmatically in C#

    Call the Converter.Convert() method, specifying input and output file names as parameters. Formats are automatically detected based on file extensions

  3. 3
    Get conversion result

    Get the image file

5%