Articles in this section
Category / Section

How to print a document in the WinForms HTMLUIControl?

1 min read

Printing

The document available in the HTMLUI control can be printed with the help of the HTMLUIPrintDocument class. The Print method of this class is used to start the document printing process.

C#

HTMLUIPrintDocument pd;
pd = new HTMLUIPrintDocument(this.htmluiControl1.Document );
pd.Print();

 

VB

Private pd As HTMLUIPrintDocument
Private pd = New HTMLUIPrintDocument(Me.htmluiControl1.Document)
pd.Print()

 

Reference link: https://help.syncfusion.com/windowsforms/html-viewer/printing

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied