ICoreWebView2_8

Undocumented in source.

Members

Functions

add_IsDocumentPlayingAudioChanged
HRESULT add_IsDocumentPlayingAudioChanged(ICoreWebView2IsDocumentPlayingAudioChangedEventHandler eventHandler, EventRegistrationToken* token)

Adds an event handler for the IsDocumentPlayingAudioChanged event. IsDocumentPlayingAudioChanged is raised when the IsDocumentPlayingAudio property changes value.

add_IsMutedChanged
HRESULT add_IsMutedChanged(ICoreWebView2IsMutedChangedEventHandler eventHandler, EventRegistrationToken* token)

Adds an event handler for the IsMutedChanged event. IsMutedChanged is raised when the IsMuted property changes value.

get_IsDocumentPlayingAudio
HRESULT get_IsDocumentPlayingAudio(BOOL* value)

Indicates whether any audio output from this CoreWebView2 is playing. This property will be true if audio is playing even if IsMuted is true.

get_IsMuted
HRESULT get_IsMuted(BOOL* value)

Indicates whether all audio output from this CoreWebView2 is muted or not.

put_IsMuted
HRESULT put_IsMuted(BOOL value)

Sets the IsMuted property.

remove_IsDocumentPlayingAudioChanged
HRESULT remove_IsDocumentPlayingAudioChanged(EventRegistrationToken token)

Remove an event handler previously added with add_IsDocumentPlayingAudioChanged.

remove_IsMutedChanged
HRESULT remove_IsMutedChanged(EventRegistrationToken token)

Remove an event handler previously added with add_IsMutedChanged.

Inherited Members

From ICoreWebView2_7

PrintToPdf
HRESULT PrintToPdf(LPCWSTR resultFilePath, ICoreWebView2PrintSettings printSettings, ICoreWebView2PrintToPdfCompletedHandler handler)

Print the current page to PDF asynchronously with the provided settings. See ICoreWebView2PrintSettings for description of settings. Passing nullptr for printSettings results in default print settings used.

Meta