WrapImagesInSvg

PdfOptions.WrapImagesInSvg property

Enables wrapping each image in the output HTML document in SVG tag to improve the output quality.

public bool WrapImagesInSvg { get; set; }

Remarks

By default, when rendering PDF and Page Layout files to HTML, all images are rendered as one PNG image. The rendered PNG image is used as the background for the output HTML document.

This option is available when rendering PDF and Page Layout file formats to HTML with embedded and external resources. It enables wrapping each image in the output HTML document in SVG tag. The default value is false.

For code example, see the documentation.

See Also