Gets the underlying ActiveX WebBrowser control.
Namespace:
C1.Win.XmlEditorAssembly: C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)
Syntax
| C# |
|---|
public Object GetActiveXInstance() |
| Visual Basic (Declaration) |
|---|
Public Function GetActiveXInstance As Object |
Return Value
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 C1XmlEditor.
Examples
Code below shows how to activate spell checking
using C1SpellChecker and the GetActiveXInstance method.
Copy CodeC#
spellChecker.SetActiveSpellChecking(editor, editor.GetActiveXInstance(), true); |