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
imageOptionsImageRenderOptionsThe raster options — DPI, the requested size, format, quality and the per-page sink.
optionsConvertOptionsThe conversion options, or null for defaults.
Returns
- ConversionResult
A summary of the conversion.
Exceptions
- ArgumentNullException
imageOptionsis null.