FileStream fs = new FileStream(FilePath,FileMode.Open,FileAccess.Read); System.Drawing.Image objImage = System.Drawing.Image.FromStream(fs);//From File int height = objImage.Height;//Actual image width int width = objImage.Width;//Actual image height LineNumber = 1; System.Drawing.Bitmap bitmapimage = new System.Drawing.Bitmap(objImage, width, height);// create bitmap with same size of Actual image.Getting error on this line
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)