Click or drag to resize

IdenticonResultFromIcon Method

Creates an IdenticonResult instance with a hash of the specified object.

Namespace:  Jdenticon.AspNet.WebApi
Assembly:  Jdenticon.AspNet.WebApi.dll
Syntax
public static IdenticonResult FromIcon(
	Identicon icon,
	ExportImageFormat format = ExportImageFormat.Png
)

Parameters

icon
Type: JdenticonIdenticon
The Identicon to be rendered.
format (Optional)
Type: JdenticonExportImageFormat
The format of the generated icon.

Return Value

Type: IdenticonResult
See Also