Creates a new image from stream. The created image is independent of the stream.

Namespace: DotNetNuke.Services.GeneratedImage
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public virtual Bitmap CopyImage(
	Stream imgStream
)
Visual Basic
Public Overridable Function CopyImage ( 
	imgStream As Stream
) As Bitmap

Parameters

imgStream
Type: System.IO..::..Stream
paramimgStreamM:DotNetNuke.Services.GeneratedImage.ImageTransform.CopyImage(System.IO.Stream)

Return Value

Image object

See Also