Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

showPrintUI

Post Reply
312684696
Posts: 11
Joined: Wed Jun 08, 2022 3:38 am

showPrintUI

Post by 312684696 »

in github code,

Code: Select all

webView2_15->ShowPrintUI(printDialogKind)
https://github.com/MicrosoftEdge/WebView2Feedback/pull/2604/files#diff-9b5469f16f89f612e57b016fe9c040f7982e152235a0edd73c234c9d704a961a

No corresponding function found in web4delphi project
User avatar
salvadordf
Posts: 4127
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: showPrintUI

Post by salvadordf »

Hi,

That method is not present in the stable version of the WebView2 API at this moment (1.0.1462.37).

That link shows some code that uses a ICoreWebView2_15 interface which apparently includes methods like "Print" and "ShowPrintUI" but the current stable WebView2 API doesn't have those methods :
https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2_15?view=webview2-1.0.1462.37

I guess Microsoft might decide to include those methods in ICoreWebView2_16 in the future.

PS : I don't work for Microsoft nor Google so the last comment is pure speculation.
User avatar
salvadordf
Posts: 4127
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: showPrintUI

Post by salvadordf »

You can track the development of that feature request here :
https://github.com/MicrosoftEdge/WebView2Feedback/issues/1331
312684696
Posts: 11
Joined: Wed Jun 08, 2022 3:38 am

Re: showPrintUI

Post by 312684696 »

OK
Post Reply