|
Rank: Advanced Member Groups: Member
Joined: 7/21/2014 Posts: 130
|
Hi, We use this code to print a webpage to a pdf file.
Code: Visual Basic.NET
Dim printToPDFSettings As New System.Drawing.Printing.PrinterSettings() With {
.PrintToFile = True,
.PrinterName = "Microsoft Print to PDF",
.PrintFileName = pathFichier
}
webView.Print(printToPDFSettings)
This code works well except the PrintFileName is not reconized by the Print(settings) method, so the user needs to choose path and file name in the file dialog. It'll be great if you can fix this. Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
This is not supported on EO.WebBrowser product. In order to convert the web page into PDF, you will need to use our HTML to PDF feature.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 7/21/2014 Posts: 130
|
Mmmmh.... W10 integrated a built-in functionnality to print in PDF, i don't see any benefits to add and buy an external dll to do that...
Too bad this feature is not implemented ...
But I understand you want to place your components ... Business is business
|
|