Click or drag to resize

EngineFactoryCreate Method (RenderingMode)

Creates and returns an IEngine instance.

Namespace:  DotNetBrowser.Engine
Assembly:  DotNetBrowser.Core (in DotNetBrowser.Core.dll) Version: 2.23.3
Syntax
C#
public static IEngine Create(
	RenderingMode renderingMode
)

Parameters

renderingMode
Type: DotNetBrowser.EngineRenderingMode
The rendering mode that will be used for initializing the engine.

Return Value

Type: IEngine
A completely initialized Chromium engine.
Exceptions
ExceptionCondition
EngineInitializationExceptionThe IEngine initialization has failed for some reason.
Remarks
Calling this method is equivalent to calling the Create(EngineOptions) method with the EngineOptions built by calling new EngineOptions.Builder().Build() with the rendering mode specified.
See Also