SvgGraphics(Stream, Size, Boolean, Boolean, String) Constructor
Constructor to create an
IGraphics object for the target platform with given defs ID.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public SvgGraphics(
Stream stream,
Size size,
bool includeDeclaration,
bool includeCustomFont,
string defsId
)
Public Sub New (
stream As Stream,
size As Size,
includeDeclaration As Boolean,
includeCustomFont As Boolean,
defsId As String
)
public:
SvgGraphics(
Stream^ stream,
Size size,
bool includeDeclaration,
bool includeCustomFont,
String^ defsId
)
new :
stream : Stream *
size : Size *
includeDeclaration : bool *
includeCustomFont : bool *
defsId : string -> SvgGraphics
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.