English Indonesia Tiếng Việt عربي Español Italiano Türk فارسی Français Português Русский ไทย

Word Pages to Images in C#

Looking for a reliable C# solution to transform Word document pages into images for your .NET project? Wordize for .NET provides a robust and user-friendly document rendiring API tailored specifically for C# developers. This versatile tool integrates effortlessly into your C# codebase, enabling automated conversion of Word documents into high-quality graphics.

Wordize for .NET can handle even the most complex Word document layouts, ensuring all pages retain their professional appearance when converted to images.

Key features of Word to Image conversion in C#:
  • High-performance Word document processing
  • Accurate preservation of document styling, including fonts, colors, and layout elements
  • Precise rendering of tables, embedded images, and graphics

Ready to enhance your document processing workflow with cutting-edge Word page rendering technology? Begin transforming Word documents into high-quality images using Wordize for .NET today!

C#
Run code
Test Wordize SDK - upload document and explore code sample
Select the target 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("Input.docx", "Output.jpg"); 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; using Wordize.Saving; ImageSaveOptions saveOptions = new ImageSaveOptions(saveFormat); saveOptions.PageLayout = MultiPageLayout.Vertical(10); Converter.Create() .From("Input.docx") .To("Output.jpg", saveOptions) .Execute();
Run code

How to convert Word to image in C#

  1. Add Wordize for .NET to your C# project.
  2. Call the Convert method, specifying input and output file names in parameters. Formats will be automatically determined based on file extensions.
  3. Get the image file.

System Requirements

Our product is fully cross-platform and supports all major .NET implementations:

  • .NET ≥ 5.0
  • .NET Core ≥ 2.0
  • .NET Standard ≥ 2.0
  • .NET Framework ≥ 4.6.1
  • MonoMac
  • MonoAndroid
  • Xamarin

As far as .NET code doesn't depend on the underlying hardware or operating system, but only on a Virtual Machine, you are free to develop any kind of software for Windows, macOS, Android, iOS and Linux. Just make sure you have installed the corresponding version of .NET Framework, .NET Core, Windows Azure, Mono or Xamarin.

We recommend using Microsoft Visual Studio, Xamarin, and MonoDevelop integrated development environments to create C#, F#, VB.NET applications.

5%