Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hellooo,
I wanna user zoomer property in my win form. I came to its possible with WPF that too with "DocumentViewer" control. But I'm not aware of XAML code so can u suggest me something with which I can accomplish my task..
Posted

1 solution

Form?! You can accomplish this task by throwing out the idea of using "win form" (as you say) and developing a WPF application. Event though it is possible to develop hybrid application through hosting of the WPF Controls in the System.Windows.Forms.Form, I don't see why you might want to do so.

Documents in WPF and System.Windows.Controls.DocumentViewer control are well documented in MSDN and Visual Studio help. Start from here: http://msdn.microsoft.com/en-us/library/ms748388.aspx[^].

—SA
 
Share this answer
 
v3
Comments
krishna kishore58 18-Feb-11 3:41am    
Is it not possible with DocumentViewer.
Sergey Alexandrovich Kryukov 18-Feb-11 3:45am    
Sorry, what is not possible?
--SA
krishna kishore58 18-Feb-11 3:47am    
I wanna zoom in/out wpf form, so that I can connect it to my windows app. Is it possible with DocumentViewer. If no so can u tell me how its possible.
Sergey Alexandrovich Kryukov 18-Feb-11 8:40am    
No, because WPF does not have forms :-)
--SA
Sergey Alexandrovich Kryukov 18-Feb-11 8:48am    
You did not answer: what is not possible?

Did you use the term "form" for WPF? My Answer is based on suggestion that you mean using Forms and WPF together, but they are different libraries.
Maybe this is just your sloppy terminology.
So, I need clarification, what do you mean exactly.

Only after that I can answer anything!

If you want any help, please start communicating!

Did you voted "2", I wonder?!

--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