interface ICoreWebView2ExperimentalPrintToPdfCompletedHandler
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
interface ICoreWebView2ExperimentalPrintToPdfCompletedHandler
: public IUnknown
Receives the result of the PrintToPdf method.
Summary
| 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.
Applies to
| Product | Introduced |
|---|---|
| WebView2 Win32 | N/A |
| WebView2 Win32 Prerelease | 1.0.1010 |
Members
Invoke
Provides the result of the corresponding asynchronous method.
public HRESULT Invoke(HRESULT errorCode, BOOL isSuccessful)