I am trying to print a canvas using the mx.printing
libraries. I have a UIComponent, which is a canvas, displayed in
the user interface. I want to print it out so I start a print job
and call the addObject property of the print job, passing the
canvas as the parameter.
I proceed to call the send method which invokes the windows
printing dialog where you choose your printer and settings. If you
proceed to print everything works as normal - the canvas is printed
out. However, if you choose cancel at the windows dialog my canvas
in the user interface just disappears.
Has anyone else run into this issue? Am I taking the wrong
approach to printing UIComponents? Why would my canvas disappear?