We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to provide printing option to WinForms TreeViewAdv control?

Platform: WinForms |
Control: TreeViewAdv
Tags: printing, print


In TreeViewAdv, information can be printed by using functions named “PrintPreview” and “Print”.

PrintPreview: This function helps to preview the control information, before proceeding to print.

Print: This function helps to print TreeViewAdv information.


//To shows the TreeViewAdv print preview dialog.
//To print the TreeViewAdv.


'To shows the TreeViewAdv print preview dialog.
'To print the TreeViewAdv.


Show printing option in TreeViewAdv

Figure 2. TreeViewAdv with printing option.

Show print preview dialog of the TreeViewAdv

Figure 2. Default Print preview dialog of the TreeViewAdv.

Show printer option in TreeViewAdv

Figure 3. Printer option in TreeViewAdv.


C#: TreeViewAdv_PrintingOption_C#

VB: TreeViewAdv_PrintingOption_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile