5
Answers

image

Ask a question
Vivek Joy

Vivek Joy

9y
470
1
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)