Click here to Skip to main content
15,891,713 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Actually I want To insert Treeview into .rtf document,
Is this Possible? Is it possible to save Treeview as an Image?
please give me solution?
Posted

You could take a screen shot and save that as an image, I don't know of any control which will allow you to generate an image from it.

You could also reproduce the treeview in the RTF manually, I would also look at printing to PDF, that may give you some options.

I would be asking my client about the business requirement to do such a thing.
 
Share this answer
 
Hi I hope I understand you question right. You want a tree view of your folder structure in .rtf file.

if yes then run command prompt and nevigate to your folder which you want to take the tree view and type the command

ex : -> D:\>Tree Foo | clip

and go to your .rtf file and right clik and paste or press control V.

Hope this helps.
 
Share this answer
 
Comments
Gauri Bharde 2-Jun-14 2:10am    
sir, actually I want to insert this treeview into .rtf document dynamically in my Windows app.how to write code?

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