VBA, DLL library, Macro in corel draw....

we need macro to transfer shape information to our application for that.

                              CorelDRAW has a built-in VBA, so you can work with its object model and directly obtain information about points and lines. You can compile a dll-library for your software and use it inside CorelDRAW VBA-macro

But we dont know how this will work ...

After going through book on macro in corelDraw we still cant understandd, how lines and curves data could be accessed and transfered.