What control would be best for.....

  • Thread starter Thread starter CG3000
  • Start date Start date
C

CG3000

creating a label to be printed out on a label printer.

The image on the label would be a jpeg file with labels and text beside
that image. This image and text would be printed out by a printer that
prints labels.

Is there a document control that will display the image with the text I
need printed with it?
The user would enter in plain text into text controls and the value of
those text controls should appear next to the image.

I know VS 2005 has a print preview control. Ill use that to display the
image after they enter text before printing it.

Thanks for your help

Carlton G.
 
I understand your system, but I'm not sure what you're asking.

Do you want to know if there is a control that will display the jpeg to
the user and allow them to enter the text? No, but you can put an Image
object on your form and use Textboxes to have the user enter text. In
other words, it's really easy to build it yourself.

Or, are you asking about the printing side of things? If so, there is
no such thing as a pre-made "document" that will print what you want.
You have to either write the PrintDocument-derived class yourself, or
use Crystal reports. Crystal XI will allow you to place an image on a
report given its file name, and all versions of Crystal that work with
..NET allow you to pass an image to Crystal as a blob.
 
Thanks for your response.

I understand that I will have to write my PrintDocument code myself to
display the image modified with the newly entered text.

Maybe a better question would be what namespace/class can I use to
apply text to a jpeg/png/gif ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top