Resize a picture
Posted
#1
(In Topic #939)
Guru

Posted
Enthusiast

otherwise … the image class has a function called stretch
Posted
Guru

What I am doing gets a picture to line up with a GridView when being dragged. Below you can see it works. This allows me to resize the form and the image still lines up, so it needs to be exact. So sorry, 'Stretch' doesn't cut it!
<IMG src="https://www.cogier.com/gambas/dragged1.png">
</IMG><IMG src="https://www.cogier.com/gambas/dragged2.png">
</IMG>
Posted
Regular

Ced
Code (gambas)
- '=============================================================================
- I.Save("DoD.jpg")
- '=============================================================================
.... and carry a big stick!
Posted
Guru

cogier said
Image.Stretch
Posted
Guru

Reminder, I must read posts more carefully! :?
1 guest and 0 members have just viewed this.


