Printing labels in a picture box

widware
widware used Ask the Experts™
on
I've made a CAD program that uses the line method to draw graphics in a picture box.  The picture box also contains labels which are children of the picture box. Using the paintpicture method and the image property for the picturebox, I can send the graphic to a printer for hardcopy.  Trouble is, I want the captions in the labels to print too.  Is there a way I can do this without invoking the printForm method? (I just want to print the picturebox with graphics and labels)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
By the way, I'm using VB6
Done use labels.  If you set Picture1.CurrentX to the left of where ever the label was and Picture1.CurrentY to the top + the height of the label, you can do Picture1.Print "Whatever text you want"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial