OOPS ---- ??

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

OOPS ---- ??

Post by Ashu » Thu Jun 12, 2008 8:53 am

Hi Tom,

Whenever I export the TeeTree to svg format, I get the following error :roll: .

---------------------------
TeeTree v2 - What's New !
---------------------------
oops.
---------------------------
OK
---------------------------

Please let me know whether I am missing with any dll or any other thing?

Thanks in advance.

Regards,
Ashu

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Sun Jun 15, 2008 9:47 am

Hi,

drop TeeSVGCanvas in your uses list and try the following code:

Code: Select all

procedure TForm2.Button38Click(Sender: TObject);
var
  tmp: TSVGExportFormat;
begin
  TeeSaveToSVGFile(Tree1, 'c:\test.svg', 100,100);
end;
This should result in a part (100 by 100) image of your tree.

Regards,
Tom.

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Mon Jun 16, 2008 5:41 am

Hi Tom,

My Total bounds of the TeeTree are large (consider 1200x900 more or any thing else as it is not fixed).

I want to export it to SVG in full.

I am using the same method which you have suggested...
I am not sure but.. some times it works but some times it give the same error.. ie "Oops"...

Also... Image shapes are not exported to SVG?
I am not able see the image shapes in SVG file (when I was able to export the teetree in SVG format).

Regards,
Ashu

Post Reply