setting starting coordinate & dimensions (export)
Posted: 09 Jun 2006, 12:24
Dear all
I am trying to export some drawing (drawn on the form's canvas) to a dxf. Currently I first export it to and emf file, then load it into dxfexporter and then save it to dxf file. I find this much simpler in comparison to drawing each and every entity individually as given in the included example.
Is there any other way also to export the drawing on Form's canvas to DXF?
Also unfortuantely, I have not been able to figure out as how to specify the co-ordinates (for example I need my the lowerLeft point of drawing to be shown as 1000,1000). Secondly the distance between any two points also get reduced to about 84.46%. For example if a line drawn on form canvas starting at poing 1000,1000 and going to 2000,1000, when exported to DXF becomes a line starting from 77,-616 to 923,-616 ( with approximate length of 846 units instead of 1000).
Can some one of you please guide me to more efficient solution.
thanking you in advance
I am trying to export some drawing (drawn on the form's canvas) to a dxf. Currently I first export it to and emf file, then load it into dxfexporter and then save it to dxf file. I find this much simpler in comparison to drawing each and every entity individually as given in the included example.
Is there any other way also to export the drawing on Form's canvas to DXF?
Also unfortuantely, I have not been able to figure out as how to specify the co-ordinates (for example I need my the lowerLeft point of drawing to be shown as 1000,1000). Secondly the distance between any two points also get reduced to about 84.46%. For example if a line drawn on form canvas starting at poing 1000,1000 and going to 2000,1000, when exported to DXF becomes a line starting from 77,-616 to 923,-616 ( with approximate length of 846 units instead of 1000).
Can some one of you please guide me to more efficient solution.
thanking you in advance