I have a web page with two Canvas controls side by side. Before printing the web page I move the right canvas below the left canvas so when printed they are stacked. Code Follows:
Web Page is named Curves
Curves.Shown event Code
Timer1.Mode = 0
Print Button Code To Move Canvas under first Canvas.
Button2.Visible = False
Button1.Visible = False
Curves.Canvas2.Top = 449
Curves.Canvas2.Left = 34
ExecuteJavaScript “print();”
Timer1.Mode = 1
Timer1 Code To reset Canvas and controls.
Button2.Visible = True
Button1.Visible = True
Curves.Canvas2.Left = 432
Curves.Canvas2.Top = 57
Timer1.Mode = 0
I can see the right canvas move and the buttons are hidden. The printer prints the web page but the canvas are still side by side. Any ideas?