PeachDrawing.Svg.SvgComposer

SvgComposer(SvgRenderContext, double, double, SvgComposerOptions) Constructor

Starts a document.

public SvgComposer(PeachDrawing.Svg.SvgRenderContext renderContext, double widthPoints, double heightPoints, PeachDrawing.Svg.SvgComposerOptions? options=null);

Parameters

renderContext SvgRenderContext

the context whose fonts and images the document uses

widthPoints System.Double

the document width, in points

heightPoints System.Double

the document height, in points

options SvgComposerOptions

what to write into the document, or null for the defaults

Exceptions

System.ArgumentOutOfRangeException
a size is not positive and finite