//========================================================================== public DrawingImage Draw() { var drawing = Root.Draw(); var drawingImage = new DrawingImage(drawing); //var xamlString = XamlWriter.Save(drawingImage); return(drawingImage); }
//========================================================================== public DrawingImage Draw() { return(new DrawingImage(Root.Draw())); }