Table of Contents

Method GenerateImages

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

GenerateImages(ImageRenderOptions, ConvertOptions?)

Renders the composition to raster images, one per page.

public ConversionResult GenerateImages(ImageRenderOptions imageOptions, ConvertOptions? options = null)

Parameters

imageOptions ImageRenderOptions

The raster options — DPI, the requested size, format, quality and the per-page sink.

options ConvertOptions

The conversion options, or null for defaults.

Returns

ConversionResult

A summary of the conversion.

Exceptions

ArgumentNullException

imageOptions is null.