SvgExtensionsSaveAsSvgAsync Method (Identicon, String, Boolean)

Saves an Identicon icon as a Scalable Vector Graphics (SVG) file asynchronously.
public static Task SaveAsSvgAsync(
	this Identicon icon,
	string path,
	bool fragment
)
Namespace
Jdenticon
Assembly
Jdenticon.dll

Parameters

iconJdenticonIdenticon
The identicon to save.
pathSystemString
The path to the SVG file to create. If the file already exists it will be overwritten.
fragmentSystemBoolean
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: Task

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
ArgumentNullExceptionpath was null.

See Also

Reference