Closed ysh512 closed 6 years ago
What version of the product are you using? 63.0.0
This version is no longer supported, version 65
is the latest.
I use the code below to disable image loading, but it did not work well. _browser.BrowserSettings.ImageLoading = CefState.Disabled;
For OffScreen
you need to pass in BrowserSettings
to the ChromiumWebBrowser
constructor with the values already set. Look at the source for a similar example https://github.com/cefsharp/CefSharp/blob/cefsharp/65/CefSharp.OffScreen.Example/Program.cs#L50
Please don't creation additional issues, you should ask on https://gitter.im/cefsharp/CefSharp or https://stackoverflow.com/questions/tagged/cefsharp for a
BrowserSettings
can now only be set through the Constructor
or CreateBrowser
methods, relevant commit https://github.com/cefsharp/CefSharp/commit/2f7618bf0e1bcf79ee4b7485157668c000b3ca7c
Bug Report
Delete this line and everything above, and then fill in the details below.
What version of the product are you using? 63.0.0
What architecture x86 or x64? x86 32
On what operating system?
Are you using
WinForms
,WPF
orOffScreen
? OffScreenWhat steps will reproduce the problem? I use the code below to disable image loading, but it did not work well. _browser.BrowserSettings.ImageLoading = CefState.Disabled;
What is the expected output? What do you see instead? I want to disable the images loading.But I screenshot the browser and the images displayed well.
**Does this problem also occur in the
CEF
Sample Application from I have not try