Exemple #1
0
        private void btnFullExtend_Click(object sender, EventArgs e)
        {
            frmExtendSet set = new frmExtendSet
            {
                Text       = "全图",
                Map        = this.ibasicMap_0,
                ExtendType = ExtendSetType.FullExtentRange
            };

            if (set.ShowDialog() != DialogResult.OK)
            {
            }
        }
Exemple #2
0
        private void btnSetClipEnt_Click(object sender, EventArgs e)
        {
            frmExtendSet set = new frmExtendSet
            {
                Text         = "裁剪",
                Map          = this.ibasicMap_0,
                ExtendType   = ExtendSetType.ClipRange,
                ClipGeometry = this.igeometry_0
            };

            if (set.ShowDialog() == DialogResult.OK)
            {
                this.igeometry_0 = set.ClipGeometry;
            }
        }
Exemple #3
0
        private void btnSetExtend_Click(object sender, EventArgs e)
        {
            frmExtendSet set = new frmExtendSet
            {
                Text         = "范围",
                Map          = this.ibasicMap_0,
                ExtendType   = ExtendSetType.Range,
                ClipGeometry = this.ienvelope_1
            };

            if (set.ShowDialog() == DialogResult.OK)
            {
                this.ienvelope_1 = set.ClipGeometry.Envelope;
                this.method_0(this.ienvelope_1);
            }
        }