Click or drag to resize

SvgExtensionsToSvg Method (Identicon, Boolean)

Renders an Identicon as a Scalable Vector Graphics (SVG) data string.

Namespace:  Jdenticon
Assembly:  Jdenticon.dll
public static string ToSvg(
	this Identicon icon,
	bool fragment


Type: JdenticonIdenticon
The identicon to render as SVG.
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.

Return Value

Type: String

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).
See Also