This is a migrated thread and some comments may be shown as answers.

Printing Radtree Nodes

1 Answer 77 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
George C.
Top achievements
Rank 2
Iron
Veteran
George C. asked on 01 Jan 2020, 10:24 AM

Greetings,

I'm looking for VB.NET solutions to print Radtree content. I found some relevant threads :

How to Print

Printing RadTree content

But no success for me yet to implement any of the suggested methods . Is there any actual implementation of printing Radtree in VB.net as a sample code or project that demonstrates the printing method of RadTree content?

I also thought of Word automation in order to create a similar tree in Office word (using bulleted list)  and then print the document, as Radtree nodes could be alternatives to bullets in Office Word's bulleted list.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 03 Jan 2020, 02:30 PM

Hello George,

In order to print a RadTreeView, you can use the TreeViewSpreadExport and SpreadExportRenderer class. The TreeViewSpreadExport can export the contents of RadTreeView to any format that you can print later. 

Another approach that I can suggest is to use a printable panel that you have already found out. Note, that this approach uses the standard DrawToBitmap method that renders the panel to a specified bitmap. This means that you can print the nodes that are visible in the panel. I have prepared a sample project following the steps described in the documentation article. Could you please refer to is and see how it works for you?

I am looking forward to your reply.

Regards,
Nadya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Treeview
Asked by
George C.
Top achievements
Rank 2
Iron
Veteran
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or