IImageDecoderDecode Method Document Toolkit Help
Decodes the image from specified stream.

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

BitmapSource Decode(
	Stream stream,
	short frame
)

Parameters

stream
Type: System.IOStream
The stream.
frame
Type: SystemInt16
The image frame if the image format supports multiple image frames.

Return Value

Type: BitmapSource
The decoded bitmap source
See Also

Reference