Save a Multi-Page Document as a Single Image

Convert a multi-page document to an image. Combine all pages into a single image, arranging them vertically, horizontally, or in a grid.

Wordize provides an easy way to save multi-page documents as images.

By default, each page of the document is saved as a separate image, but you can configure Wordize to combine all pages into a single image, arranging them:

  • vertically
  • horizontally
  • or in a grid.

The following code example shows how to convert a multi-page DOCX document into a single image, where each page of the input document is rendered sequentially in a vertical layout:

ImageSaveOptions opt = new ImageSaveOptions(SaveFormat.Png);
opt.PageLayout = MultiPageLayout.Vertical(10);
opt.PageLayout.BorderColor = Color.Black;
opt.PageLayout.BorderWidth = 1;

Converter.Create()
    .From("DocumentIn.docx")
    .To("DocumentOut", opt)
    .Execute();