FrameDispatch
Interface AntViewDocument
Type: Method
Parameters: IDispatch* Frame
Returns: nothing
In order to be able to use the AntViewDocument interface, you need to connect the document object to the WebView2 browser or frame object that you want to use it with.
You do this by passing the variant object reference of the instantiated AntViewFrame object.
Example code in VB6:
Set Document = CreateObject("AntViewAx.AntViewDocument", "")
Document.FrameDispatch (Frame.IDispatchPointer)
You can only connect one document at the same time, be it either in the main browser object or an iframe. Connecting to an iframe object will disconnect any browser objects and vice versa.
Introduced in AntView release 1.1.200
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024