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