Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27377

Three questions about System.Drawing.Imaging

$
0
0
Hi Guys!

I have an image array, let say MyImageArray(51) which is created by e.Graphics.DrawImage. For ex:

Code:

For n = 0 To 51
  x += 16
  e.Graphics.DrawImage(newImage(n), x, y, width, height)
Next

1. How can I change one's x or y position later by code?
2. How can I change one's x or y position later by mouse hover?
3. I have a deck of playing cards and I want to place the suit to the very bottom of the MyForm. For now, each card's y position is given by pixels, like 500. But whenever I full screen the form, they are becoming to somewhere in the middle of the screen (which is 500th pixel on y axis actually, no suprise :D). How can I anchor images to the bottom instead of giving location?

Thanks a lot!!!

Viewing all articles
Browse latest Browse all 27377

Latest Images

Trending Articles



Latest Images