Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have WPF project with mainwindow which contain 2 tabs(2 canvas).
in 2 each tab I can draw some control hor shape(ractangle, ellipse,...).

My require is when click on button Capture, I will capture all data of each tab(consist control of it) to png image(I will get 2 images corresponding with 2 tabs).

Current I only can caputure one of them corresponding with showed tab on screen.
EX: if tab1 is showed -> I captured tab1,
if tab2 is showed -> I capture tab2.

Please hlp me capture 2 tabs when click on button Capture.

Thanks in advance!
Posted
Comments
Sergey Alexandrovich Kryukov 27-Jun-15 0:40am    
Try to select on tab, capture it, then select another one, capture it. Capture no immediately, but in the delegate of Dispatcher.Invoke.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900