I want to save a html content in pdf from a webbrowser control in win-form
this.webBrowser1.DocumentText = htmltext;
i have used this to render html text in webbrowser now using below to print that html content into pdf
webBrowser1.Print();
but when i use this it will open a print dialog box, but i don't want to show it and wants to do give printer and file name from code side