Utilities.Media.SwiftBitmap.SwiftBitmap C# (CSharp) Method

SwiftBitmap() public method

Initializes a new instance of the SwiftBitmap class.
public SwiftBitmap ( Bitmap bitmap ) : System
bitmap System.Drawing.Bitmap The bitmap.
return System
        public SwiftBitmap(Bitmap bitmap)
        {
            Contract.Requires<ArgumentNullException>(bitmap != null);
            InternalBitmap = bitmap;
            Height = InternalBitmap.Height;
            Width = InternalBitmap.Width;
        }

Same methods

SwiftBitmap::SwiftBitmap ( Image image ) : System
SwiftBitmap::SwiftBitmap ( Stream stream ) : System
SwiftBitmap::SwiftBitmap ( int width, int height ) : System
SwiftBitmap::SwiftBitmap ( string fileName ) : System