CorelDraw Closed Curve Area
Hi All,
Does anyone know of a way to get vb to calculate the area of a closed curve in CorelDraw? I am using CorelDraw 12.
I know there are add-in CAD tools and that CorelDesigner has an area calculator button, but they require opening each individual file, selecting the curve and pressing a button.
This is my only hurdle left to automating data entry for approx 4000 drawings! :sick: But I can't seem to find a reasonable solution.
Graham H.
Re: CorelDraw Closed Curve Area
If no one knows of an easy way to calculate the closed curve area...I have a compromise solution, I think.
We can get VB to go through each CorelDraw file and run the macro containing the CAD tool that presents the needed area data in a form dialog box.
But is there anyway to extract data from a form dialog box without knowing anything about the box? Just that it is open and activated..
Graham H.
Re: CorelDraw Closed Curve Area
Got it figured. For anyone else with the problem..
To calculate the area of a closed curve, you must upgrade CorelDraw to X3. Then you can use:
dblSurface = ActiveShape.Curve.Area
If you don't have $700 bucks for X4 then there are Corel add-in tools that will get you the result but automation is impossible with these tools..
Graham H.