[]
        
(Showing Draft Content)

C1.Win.C1Editor.C1Editor.GetActiveXInstance

GetActiveXInstance Method

GetActiveXInstance()

Gets the underlying ActiveX WebBrowser control.

Declaration
public object GetActiveXInstance()
Returns
Type Description
object

Reference to the ActiveX WebBrowser object.

Remarks

Use this method to get a reference to the IWebBrowser2 interface. For example, C1SpellChecker uses the IWebBrowser2 interface to support spelling in the C1Editor.

Examples

Code below shows how to activate spell checking using C1SpellChecker and the GetActiveXInstance method.

spellChecker.SetActiveSpellChecking(editor, editor.GetActiveXInstance(), true);