2 Replies - 1904 Views - Last Post: 31 January 2012 - 08:08 PM Rate Topic: -----

#1 prasad.weer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 10-November 11

How to stretch an image in picturebox?

Posted 30 January 2012 - 08:18 PM

I want to stretch an image in picturebox. Is there any property to do it? In VB.NET there is is a property called "size mode". we can change that property to "stretch image". still i couldn't find VB6 property to do it. Please tell me the property or if there is not a property, how to do it?
Is This A Good Question/Topic? 0
  • +

Replies To: How to stretch an image in picturebox?

#2 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,768
  • Joined: 26-March 09

Re: How to stretch an image in picturebox?

Posted 31 January 2012 - 01:06 AM

There is no stretch in a PictureBox, you would need to look at using the BitBlt API to stretch the image.

If you can use the image control instead of the picture box, you can use the Stretch property.
Was This Post Helpful? 1
  • +
  • -

#3 prasad.weer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 10-November 11

Re: How to stretch an image in picturebox?

Posted 31 January 2012 - 08:08 PM

image control also a better idea. Thank you maj.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1