Image is distorted in the picture box

In the picturebox I am displaying the image which is jpeg file

Sizemode I had set it to StrechImage
The image is displaying it as a distorted 



Answer this question

Image is distorted in the picture box

  • LucDew

    Now I am trying another approach
    Dim filename as String = "C\images\rose.jpg"
    PictureBox1.Image = filename 

    I am getting the error value of type string cannot be converted to System.drawing.image

    Thanks

  • Marslv

    Thanks. My problem got fixed
  • Image is distorted in the picture box