共用方式為


interface ICoreWebView2PrintToPdfStreamCompletedHandler

Note

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

interface ICoreWebView2PrintToPdfStreamCompletedHandler
  : public IUnknown

Receives the result of the PrintToPdfStream method.

Summary

Members Descriptions
Invoke Provides the result of the corresponding asynchronous method.

errorCode returns S_OK if the PrintToPdfStream operation succeeded. The printable pdf data is returned in the pdfStream object.

Applies to

Product Introduced
WebView2 Win32 1.0.1518.46
WebView2 Win32 Prerelease 1.0.1549

Members

Invoke

Provides the result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, IStream * pdfStream)