Vivek Joy

Vivek Joy

  • NA
  • 137
  • 27.1k

image

Sep 11 2015 8:46 AM
i have uploaded the image into picture box using this
string myPic = string.Empty;
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "All Files|*.*";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
myPic = openFileDialog1.FileName;
pictreBxLogo.Image = null;
pictreBxLogo.Image = Image.FromFile(myPic);
}
 
 
how can i give a condition that image should be in 94 height and 94 width.
 
 
Someone help me please
 

Answers (5)