System.Drawing.FastBitmap.FastBitmap C# (CSharp) Method

FastBitmap() public method

public FastBitmap ( Bitmap bmp ) : System
bmp Bitmap
return System
        public FastBitmap(Bitmap bmp)
        {
            if (bmp == null) throw new ArgumentNullException("bitmap");

            _bitmap = bmp;
            _size = new Point(bmp.Width, bmp.Height);

            LockBitmap();
        }