Skip to content

PdfSvgDrawing.RenderSvgDrawing Method

RenderSvgDrawing()

Renders the SVG document as PDF graphics.

C#
public void RenderSvgDrawing()

Remarks

This method performs an explicit rendering of the SVG content to PDF. After the rendering process the size of this PdfSvgDrawing object can be retrieved using the Xfinium.Pdf.Graphics.PdfFormXObject.Width and Xfinium.Pdf.Graphics.PdfFormXObject.Height properties.
An explicit call of this method is not required, the framework calls it when the SVG drawing is drawn on the target graphics surface.