Click or drag to resize

PngExtensionsSaveAsPng Method (Identicon, Stream)

Saves an Identicon icon as a Portable Network Graphics (PNG) file.

Namespace:  Jdenticon
Assembly:  Jdenticon.dll
Syntax
public static void SaveAsPng(
	this Identicon icon,
	Stream stream
)

Parameters

icon
Type: JdenticonIdenticon
The identicon to save.
stream
Type: System.IOStream
The stream to which the PNG data will be written.

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
ArgumentNullExceptionstream was null.
See Also