CorelDraw API provides ability to register custom datasource objects.
They can be used to pass properties or call methods from CorelDraw UI to your extension.
There is example of RullerTool extension source code in developer area. This source code provide DataSource Object example but it's writen in C++ .
I need working example of extension with DataSource object writen in C#.
General idea is to register custom actions in UI that maps to some actions in developed plugin, and can have shortcut keys assigned to them, these actions will call DataSource methods, and Datasource methods will trigger actions in plugin.
Can somebody please help me in this question.
Hi, i have a little exemple in my github github.com/.../DataSource
Thank you! Your example is woking. I managed to create my own datasource based on studing your code.
There is also excelent example of DataSource object by bonus630
and video showing how this plugin works