共用方式為


interface ICoreWebView2Environment6

interface ICoreWebView2Environment6
  : public ICoreWebView2Environment5

This interface is an extension of the ICoreWebView2Environment that supports creating print settings for printing to PDF.

Summary

Members Descriptions
CreatePrintSettings Creates the ICoreWebView2PrintSettings used by the PrintToPdf method.

Applies to

Product Introduced
WebView2 Win32 1.0.1020.30
WebView2 Win32 Prerelease 1.0.1056

Members

CreatePrintSettings

Creates the ICoreWebView2PrintSettings used by the PrintToPdf method.

public HRESULT CreatePrintSettings(ICoreWebView2PrintSettings ** value)