Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.34 KB

icorewebview2printtopdfcompletedhandler.md

File metadata and controls

41 lines (27 loc) · 1.34 KB
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

interface ICoreWebView2PrintToPdfCompletedHandler

[!INCLUDE deprecation-note]

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)