GdiExtensionsSaveAsEmfAsync Method (Identicon, Stream)

Saves an Identicon as an Enhanced Metafile (EMF) asynchronously.
public static Task SaveAsEmfAsync(
	this Identicon icon,
	Stream stream
)
Namespace
Jdenticon
Package
PackageJdenticon.Gdi

Parameters

iconJdenticonIdenticon
The identicon to save.
streamSystem.IOStream
The stream to which the EMF data will be written.

Return Value

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

See Also

Reference