Click or drag to resize

IdenticonResultFromHash Method (String, Int32, ExportImageFormat)

Creates an IdenticonResult instance with the specified hash.

Namespace:  Jdenticon.AspNet.WebApi
Assembly:  Jdenticon.AspNet.WebApi.dll
Syntax
public static IdenticonResult FromHash(
	string hash,
	int size,
	ExportImageFormat format = ExportImageFormat.Png
)

Parameters

hash
Type: SystemString
The hex encoded hash that will be used as base for the icon. The hash string must contain at least 12 characters.
size
Type: SystemInt32
The size of the icon in pixels.
format (Optional)
Type: JdenticonExportImageFormat
The format of the generated icon.

Return Value

Type: IdenticonResult
See Also