Message 1 of 2
C#:how to call functions registered by registerCallback() in Javascript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I looked at some code in Autodesk.AutoCAD.js, and one of the functions caught my attention. The name of this function is registerCallback (string, function). Some public information shows that this function is added in Chromium and is used to register some callback functions for autocad to call (IPC). My question is how to use c # to trigger the js function registered by this function.
This method enables c # to actively send data to js, but I can't find the calling method