Enable internal PDF viewer in WPF project
This commit is contained in:
parent
f4eabbb37b
commit
757b8edf1e
@ -7,7 +7,9 @@ namespace CefSharp.MinimalExample.Wpf
|
|||||||
public App()
|
public App()
|
||||||
{
|
{
|
||||||
//Perform dependency check to make sure all relevant resources are in our output directory.
|
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||||
Cef.Initialize(new CefSettings(), shutdownOnProcessExit: true, performDependencyCheck: true);
|
var settings = new CefSettings();
|
||||||
|
settings.EnableInternalPdfViewerOffScreen();
|
||||||
|
Cef.Initialize(settings, shutdownOnProcessExit: true, performDependencyCheck: true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user