Click or drag to resize

GdiExtensionsToBitmap Method

Renders an Identicon to a GDI Bitmap.

Namespace:  Jdenticon
Assembly:  Jdenticon.Gdi.dll
public static Bitmap ToBitmap(
	this Identicon icon


Type: JdenticonIdenticon
The identicon to render.

Return Value

Type: Bitmap

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).
The caller should dispose the returned Bitmap once it does not need it anymore.
See Also