Class Images
Inheritance
System.Object
Images
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public static class Images
Methods
BitmapImageFromFile(String)
Declaration
public static BitmapImage BitmapImageFromFile(string file)
Parameters
Type |
Name |
Description |
System.String |
file |
|
Returns
Type |
Description |
System.Windows.Media.Imaging.BitmapImage |
|
Crop(Bitmap)
Declaration
public static Bitmap Crop(Bitmap image)
Parameters
Type |
Name |
Description |
System.Drawing.Bitmap |
image |
|
Returns
Type |
Description |
System.Drawing.Bitmap |
|
Crop(Bitmap, Boolean)
Declaration
public static Bitmap Crop(Bitmap originalBitmap, bool ensureSquare)
Parameters
Type |
Name |
Description |
System.Drawing.Bitmap |
originalBitmap |
|
System.Boolean |
ensureSquare |
|
Returns
Type |
Description |
System.Drawing.Bitmap |
|
Declaration
public static BitmapSource Crop(BitmapSource image)
Parameters
Type |
Name |
Description |
System.Windows.Media.Imaging.BitmapSource |
image |
|
Returns
Type |
Description |
System.Windows.Media.Imaging.BitmapSource |
|
Transparent(Image)
Declaration
public static Bitmap Transparent(Image image)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
Returns
Type |
Description |
System.Drawing.Bitmap |
|
Declaration
public static BitmapSource Transparent(BitmapSource img)
Parameters
Type |
Name |
Description |
System.Windows.Media.Imaging.BitmapSource |
img |
|
Returns
Type |
Description |
System.Windows.Media.Imaging.BitmapSource |
|