interface ICoreWebView2PrintToPdfCompletedHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2PrintToPdfCompletedHandler
  : 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 1.0.1020.30
WebView2 Win32 Prerelease 1.0.1056

Members

Invoke

Provides the result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, BOOL isSuccessful)