I'm using a PictureBox on a form for the surface where the user can move
elements, add elements, connect elements, etc. Now I want to be able to
print out the contents of the picturebox. I've tried a couple of
different ways with little to no success.
The PictureBox is drawn to using GDI functions to a temporary hdc and
then copied over using BitBlt.
I've tried to do the same using both BitBlt and StretchBlt but both
result in the printed page being blank.
I've tried doing the drawing straight to the hdc of the printer and that
does work, however the scale is off and I can not seem to adjust it and
some of the objects are filled when they should not be.
If anyone has any ideas how to go about solving this problem please let
me know.
Thanks very much,
Marc Audy
Construction Engineering & Management
University of Alberta