IWrapperEngine implementation class that controls an instance of Excel.

Namespace:  XllPlus.ComWrappers.Runtime
Assembly:  XllPlus.ComWrappers.Runtime (in XllPlus.ComWrappers.Runtime.dll) Version: 7.0.9.1411 (7.0.9.1411)

Syntax

C#
public class ExcelWrapperEngine : IExcelWrapperEngine, 
	IWrapperEngine, IDisposable
Visual Basic (Declaration)
Public Class ExcelWrapperEngine _
	Implements IExcelWrapperEngine, IWrapperEngine, IDisposable
Visual C++
public ref class ExcelWrapperEngine : IExcelWrapperEngine, 
	IWrapperEngine, IDisposable

Remarks

An instance of this class should be used as the Engine for wrapper class instances when Excel is available at run-time. If Excel is not available then an emulator engine should be used instead.

An instance is initialized by using either Create()()() or Attach(Object), and must be terminated by calling either Destroy()()() or Detach()()() respectively.

Note that the class is heavyweight if Create()()() is used, since a hidden Excel application instance is created. Care should therefore be taken to create as few as possible instances of the class (preferably only one), and instances should be kept "alive" as long as they are needed.

Remarks

Inheritance Hierarchy

System..::.Object
  XllPlus.ComWrappers.Runtime..::.ExcelWrapperEngine

See Also