tags:

views:

8

answers:

0

Hello, I have a DrawingGroup with nested children created from SVG files and want to render/convert this a corresponding nested DrawingVisual/Visual.

A simple rendering process as follows...

DrawingGroup group; // assuming root group of diagrams DrawingVisual visual = new DrawingVisual();

visual.DrawDrawing(group);

will correctly render the drawing graph, but the resulting visual does not contain any child visual, only a single visual with no child is created.

The children of the root may also have children with transform(s), which is the may cause of my current failed attempt.

I need the nested visual for perform interactivity operations. Anyone done a similar thing and will not mind to share his/her algorithm?

Paul.