Method ImageUtil.LoadGdipBitmap
Overload
Loads GDI+ image from file, resource or string.
public static Bitmap LoadGdipBitmap(string image, (int dpi, SIZE? size)? xaml = null)
Parameters
image (string)
Can be:
|
xaml ((int dpi, SIZE? size)?)
If not |
Returns
Exceptions
Exception
Depending on image string format, exceptions of System.IO.File.OpenRead, System.Drawing.Bitmap.Bitmap, etc. |