Area, Node Count and Perimeter Length of a Closed Curve

Does anyone know of a way to calculate the area, number of nodes and perimeter length of a closed curve using VBA in Corel Draw 12?

I know there are CAD add-in tools that do this...but I need to perform these calculations on approximately 4000 shapes and the CAD tools require that you manually click a button to get the data in each drawing file.  I would like to automate the process by simply passing the data directly into a database or excel worksheet.

Any ideas?

Graham H.