[Gambas-user] R: Stretching an image As Image - BIS
Ru Vuott
vuott at ...325...
Sat Sep 29 18:59:46 CEST 2012
Hello,
uhmmmm, I found solution:
i = i.Load("my_image").Stretch(a, b)
bye
vuott
--- Sab 29/9/12, Ru Vuott <vuott at ...325...> ha scritto:
> Da: Ru Vuott <vuott at ...325...>
> Oggetto: [Gambas-user] Stretching an image As Image
> A: gambas-user at lists.sourceforge.net
> Data: Sabato 29 settembre 2012, 18:40
> Hello,
>
> I'ld like to insert an image into a gridview cell.
> Since the image is larger than the cell, I would like to
> reduce it by "stretching":
>
> *******
> Public Sub .........()
>
> Dim p As Picture
> Dim i As New Image
>
> i = i.Load("my_image")
>
> With GridView1[0, 0]
> i.Stretch(.W, .H)
> p = i.Picture
> .Picture = p
> End With
>
> .........
>
> End
> ************
>
> but the image is not stretched ! Why ?
>
> Thanks
> vuottt
>
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in
> production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list