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