Esempio n. 1
0
 /// <summary>
 /// The 'ZoomIn' command (bound to the plus key) was executed.
 /// </summary>
 private void ZoomIn(Point contentZoomCenter)
 {
     ZoomHost.ZoomAboutPoint(ZoomHost.ContentScale + 0.2, contentZoomCenter);
 }
Esempio n. 2
0
 public void ZoomToFit()
 {
     ZoomHost.ZoomTo(Windows.GetBoundingRectangle(notMinimized: true));
 }