MobileForms Toolkit Documentation

BitmapEx.FromFile Method (String, SizeF)

Creates an Bitmap from the specified file and scale by the specified scale factor.

public static Bitmap FromFile(
string filename,
SizeF scaleFactor
);

Parameters

filename
A string that contains the name of the file from which to create the 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.FromFile Overload List