description | title | ms.date | keywords |
---|---|---|---|
Receives the result of the `PrintToPdf` method. |
WebView2 Win32 C++ ICoreWebView2PrintToPdfCompletedHandler |
02/09/2022 |
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2PrintToPdfCompletedHandler |
[!INCLUDE deprecation-note]
interface ICoreWebView2PrintToPdfCompletedHandler
: public IUnknown
Receives the result of the PrintToPdf
method.
Members | Descriptions |
---|---|
Invoke | Provides the result of the corresponding asynchronous method. |
If the print to PDF operation succeeds, isSuccessful
is true. Otherwise, if the operation failed, isSuccessful
is set to false. An invalid path returns E_INVALIDARG
.
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.1020.30 |
WebView2 Win32 Prerelease | 1.0.1056 |
Provides the result of the corresponding asynchronous method.
public HRESULT Invoke(HRESULT errorCode, BOOL isSuccessful)