Hi, I'm new here, but I am relatively experienced with vb.net. I am currently creating a program that outputs an image, but the image being outputted consists of text and other graphical elements.

So the text element would look like:

graphics.DrawString(text, variable, variable, variable, variable)

My problem is that I cannot create more than one set of each element that I am creating. And then put that into the code that creates the image.

Is there a way of creating this line of code and then putting it into say a variable and then putting the variable into the code where the image is created?

Sorry if I am not clear, I didn't know how to explain my problem!

Many Thanks

>Putting a graphics into a variable

I think you want to save the drawings. Isn't it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.