[]
Gets the underlying ActiveX WebBrowser control.
public object GetActiveXInstance()
Type | Description |
---|---|
object | Reference to the ActiveX WebBrowser object. |
Use this method to get a reference to the IWebBrowser2 interface. For example, C1SpellChecker uses the IWebBrowser2 interface to support spelling in the C1Editor.
Code below shows how to activate spell checking using C1SpellChecker and the GetActiveXInstance method.
spellChecker.SetActiveSpellChecking(editor, editor.GetActiveXInstance(), true);