[Gambas-user] Image to Picture
Shane
shanep at ...2481...
Mon Dec 27 11:46:00 CET 2010
On 27/12/10 21:36, Fabien Bodard wrote:
> try to add
>
>
> Picturebox.Picture.Fill(gb.Transparent)
>
> after setting the new picture
>
Tried This
PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h)
Draw.Begin(PictureBox1.Picture)
Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureBox1.h-myimage.w)/2)
Draw.End
PictureBox1.Picture.Fill(Color.Transparent)
Their is no gb.transparent
More information about the User
mailing list