MobileForms Toolkit Documentation

BitmapEx.FromStream Method (Stream, SizeF)

Creates an Bitmap from the specified data stream and scale by the specified scale factor.

public static Bitmap FromStream(
Stream stream,
SizeF scaleFactor
);

Parameters

stream
A Stream that contains the data for this Bitmap.
scaleFactor
A SizeF containing the horizontal and vertical scaling factors.

Return Value

The Bitmap this method creates.

See Also

BitmapEx Class | Resco.Drawing Namespace | BitmapEx.FromStream Overload List