Click or drag to resize

SvgExtensionsSaveAsSvg Method (Identicon, Stream, Boolean)

Saves an Identicon icon as a Scalable Vector Graphics (SVG) file.

Namespace:  Jdenticon
Assembly:  Jdenticon.dll
Syntax
public static void SaveAsSvg(
	this Identicon icon,
	Stream stream,
	bool fragment
)

Parameters

icon
Type: JdenticonIdenticon
The identicon to save.
stream
Type: System.IOStream
The stream to which the SVG data will be written.
fragment
Type: SystemBoolean
If true the generated SVG will not be encapsulated in the root svg element making it suitable to be embedded in another SVG.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Identicon. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionstream was null.
See Also