Beispiel #1
0
 /// <summary>
 /// Import InfiniteCanvas from json string and render the new canvas, this function will empty the Redo/Undo queue.
 /// </summary>
 /// <param name="json">InfiniteCanvas json representation</param>
 public void ImportFromJson(string json)
 {
     _drawingSurfaceRenderer.RenderFromJsonAndDraw(ViewPort, json);
 }
Beispiel #2
0
 /// <summary>
 /// Import InfiniteCanvas from json string and render the new canvas, this function will empty the Redo/Undo queue.
 /// </summary>
 /// <param name="json">InfiniteCanvas json representation</param>
 public void ImportFromJson(string json)
 {
     _drawingSurfaceRenderer.RenderFromJsonAndDraw(ViewPort, json, _infiniteCanvasScrollViewer.ZoomFactor);
 }