SvgGraphics(Stream, Size, Boolean, Boolean, String) Constructor

Constructor to create an IGraphics object for the target platform with given defs ID.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
C#
public SvgGraphics(
	Stream stream,
	Size size,
	bool includeDeclaration,
	bool includeCustomFont,
	string defsId
)

Parameters

stream  Stream
stream to write output to.
size  Size
Size of the output SVG image.
includeDeclaration  Boolean
Determines whether to include SVG declaration or not.
includeCustomFont  Boolean
Determines whether to include custom font into result SVG or not.
defsId  String
A short guid to except possible defs reusage when several SVGs located in the same document.

See Also