I use in the webBrowser control project. Everything worked, but after updating the computer (OS: windows 10), the ShowPrintPreviewDialog () method stopped working. The print dialog box opens, but it is empty. At the same time, there is content in the DocumentText property. The content view window also opens, everything is displayed correctly.
webBrowser1.DocumentText = Content; webBrowser1.ShowPrintPreviewDialog(); Tell me what's wrong? How is it possible to solve this problem?