Decodes the image from specified stream.

Namespace: FirstFloor.Documents.Imaging
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public BitmapSource Decode(
	Stream stream,
	short frame
)
Visual Basic
Public Function Decode ( _
	stream As Stream, _
	frame As Short _
) As BitmapSource
Visual C++
public:
virtual BitmapSource^ Decode(
	Stream^ stream, 
	short frame
) sealed

Parameters

stream
Type: System.IO..::..Stream
The stream.
frame
Type: System..::..Int16
The image frame if the image format supports multiple image frames.

Return Value

The decoded bitmap source

Implements

IImageDecoder..::..Decode(Stream, Int16)

See Also