public void ZoomExtents()
        {
            this.CheckForUpdates();
            string a = MSCPrj.ReadWKT(this.ParentDataset.ParentDocument);

            if (a != this.BoundaryExtent.SpatialReference)
            {
                ErrorReport.ShowErrorMessage(AfaStrings.CoordinateSystemsDontMatch);
                return;
            }
            Point3d minPoint = new Point3d(this.BoundaryExtent.XMin.Value, this.BoundaryExtent.YMin.Value, 0.0);
            Point3d maxPoint = new Point3d(this.BoundaryExtent.XMax.Value, this.BoundaryExtent.YMax.Value, 0.0);

            DocUtil.ZoomExtents(minPoint, maxPoint);
            this.CheckForUpdates();
        }