private void setZoom()
        {
            // The scrollZoom changed so reset the zoom factor
            // based on the scrollZoom TrackBar position.
            double newZoom = zoomFactor[scrollZoom.Value];