I see that your code sample projects use the TImage control. I have an existing project that has a drawing made on a TPaintBox control. How can I save the TPaintBox drawing to DXF?
By the way, I am using C++ (I do not have Delphi).
Thanks in advance for your assistance.
Can I save drawing on TPaintBox control to DXF?
Moderators: SDS, support, admin
Re: Can I save drawing on TPaintBox control to DXF?
Hello Mary,
I'm afraid it is not possible, because the TPaintBox control doesn't have a Picture property (TImage has it) that means you can't obtain a TGraphic object for this control. Only TGraphic object and its descendants (TsgCADImage, TsgDWGImage, TsgCADdxfImage, etc.) can be saved to the DXF format.
Mikhail
I'm afraid it is not possible, because the TPaintBox control doesn't have a Picture property (TImage has it) that means you can't obtain a TGraphic object for this control. Only TGraphic object and its descendants (TsgCADImage, TsgDWGImage, TsgCADdxfImage, etc.) can be saved to the DXF format.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Can I save drawing on TPaintBox control to DXF?
Mikhail,
I suspected that was the case, but I wanted to make sure. Thank you for your prompt reply.
Mary
I suspected that was the case, but I wanted to make sure. Thank you for your prompt reply.
Mary