Is there any way to Print the contents of a Picture Box?? Its not just printing the Image of the picture box.
In my application i am dynamically placing label controls inside the picture box. Each label have a background image. I want to print the image as well as the labels inside the picturebox .(means as we see in the display)..
OR
is there any way to print the drawn rectangles (using graphics) on the image of the picture box. Image as well as the graphics on the top.
Thanks in advance.
Loading
Richard BlythePosted Apr 5, 2007, 6:35 PM
What I would recommend is to create a small custom class. Create only three properties: Image, Location, and Size. Next implement this class instead of the label control. You can store a copy of the original picturebox image and draw on top of it then set this new image as your pb image. With this method there are multiple ways to send it to a printer. If you need further help on creating this class and using it, write me at: [email protected]
Cheers,
Richard