Is there a Class, Library or Component to render an image file baseon a tree data structure?

A

Afshar

Hi there,

I have a data structure that I can use it to fill a tree control. And
now I want to create an bmp or jpg image file to show this tree.
Notice:
1. I want to do this in a library that doesn't access to any UI like
Windows or Web.
2. I prefer not use GDI+ and System.Draw and beginning from scratch by
rendering each line or object!


Thanks in Advance
Afshar Mohebbi
 
M

Mythran

Afshar said:
Hi there,

I have a data structure that I can use it to fill a tree control. And
now I want to create an bmp or jpg image file to show this tree.
Notice:
1. I want to do this in a library that doesn't access to any UI like
Windows or Web.
2. I prefer not use GDI+ and System.Draw and beginning from scratch by
rendering each line or object!


Thanks in Advance
Afshar Mohebbi


1.) Well, you don't need a System.Windows.Forms or System.Web reference for
drawing.

2.) How do you want to draw without GDI+ or System.Drawing? You can't even
access a bmp or jpg without System.Drawing unless you go with pure PInvoke
(API calls) and handle all the data structures yourself (which is what
System.Drawing does btw, it basically wraps all that gritty stuff behind the
scenes and makes it easier to use via simpler managed calls).

HTH,
Mythran
 
A

Afshar

1.)  Well, you don't need a System.Windows.Forms or System.Web reference for
drawing.

2.)  How do you want to draw without GDI+ or System.Drawing?  You can't even
access a bmp or jpg without System.Drawing unless you go with pure PInvoke
(API calls) and handle all the data structures yourself (which is what
System.Drawing does btw, it basically wraps all that gritty stuff behind the
scenes and makes it easier to use via simpler managed calls).

HTH,
Mythran

Exuse me, I mean I do not use System.Drawing directly. I prefer to
find a solution working with System.Drawing itself. And I just use
that solution instead without worrying about classes in
System.Drawing.

Afshar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top