-
Image Array Control
In VB6, there was an image-array-control-splitter-uppy-thingy. You could give it an image and the control would split it up into several smaller images, in rows and tables.
Does that same tool still exist in vb10?
I'd like to split up an image like this one...
http://www.jfitz.com/cards/windows-playing-cards.png
-
Re: Image Array Control
You can do it without any controls. Simply use DrawImage method. It allows to draws both whole images and their parts.
As for the cards - there is Cards.dll in your Windows\System32 folder. It has all cards images in it and functions to draw them.
-
Re: Image Array Control
I knew about cards.dll but I've never gotten into it much. Anyway, I've found some nice pgn cards for free and I'm using them. I set up a Stucture to keep up with .CardImage, .Rank, .Suit, and .Used. Not a big deal. I just wondered how to take one image that had all the cards in one image and split them into individual card images.
-
Re: Image Array Control
Use Graphics.DrawImage method (Draws the specified portion of the specified Image at the specified location and with the specified size).