I may be asking too many questions out here, but I have no other source.. so sorry for flooding the forum.
My question is:
I have a canvas, which I zoom in/out on mouse scroll:
DockPanel myDockPanel = new DockPanel();
myDockPanel.LastChildFill = true;
//Add cnavas and the status bar to dock panel.
this.elementHost.Child = myDockPanel;
//Get the current matrix
Matrix currentMattrix = this.canvas.LayoutTransform.Value;
View Complete Post