Gets a Stream that contains the image in this C1Bitmap.

Namespace:  C1.Phone.Imaging
Assembly:  C1.Phone.Imaging (in C1.Phone.Imaging.dll)

Syntax

C#
public Stream GetStream(
	ImageFormat format,
	bool compress
)
Visual Basic
Public Function GetStream ( _
	format As ImageFormat, _
	compress As Boolean _
) As Stream

Parameters

format
Type: C1.Phone.Imaging..::..ImageFormat
ImageFormat that specifies the type of stream to return.
compress
Type: System..::..Boolean
Whether the stream should be compressed (optional only for PNG format).

Return Value

A Stream that contains the image in this C1Bitmap.

See Also