BitmapEncoderEncode Method (Int32, Int32, Stream)Document Toolkit Help
Encodes the specified bitmap with given size.

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

public Stream Encode(
	int width,
	int height,
	Stream stream
)

Parameters

width
Type: SystemInt32
The width.
height
Type: SystemInt32
The height.
stream
Type: System.IOStream
The stream containing a raw bitmap.

Return Value

Type: Stream
The encoded bitmap stream.
See Also

Reference