• 大小: 71KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-08
  • 语言: C#
  • 标签: C#+ARCENGINE  

资源简介

放大,缩小,图形显示C#+ARCENGINE.rar

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.SystemUI;

namespace controlapp
{
    public partial class Form1 : Form
    {

        IMap pMap;
        IActiveView pActiveView;
        
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            pMap = axMapControl1.Map; 
            pActiveView = pMap as IActiveView; 
            pActiveView.Extent = axMapControl1.FullExtent;
            pActiveView.Refresh(); 
        }

        private void axMapControl1_onmousedown(object sender ESRI.ArcGIS.Controls.IMapControlEvents2_onmousedownEvent e)
        {
            axMapControl1.MousePointer = ESRI.ArcGIS.Controls.esriControlsMousePointer .esriPointerCrosshair;

   IEnvelope pEnv ;
   pEnv = axMapControl1.TrackRectangle();

   pActiveView.Extent =pEnv; 
   pActiveView.Refresh(); 

        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      46592  2010-10-21 10:32  放大,缩小,图形显示C#+ARCENGINE\1.mxd

     文件      16896  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin\Debug\controlapp.exe

     文件      24064  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin\Debug\controlapp.pdb

     文件      14328  2010-10-21 11:24  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin\Debug\controlapp.vshost.exe

     文件        490  2007-07-21 01:33  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin\Debug\controlapp.vshost.exe.manifest

     文件       5219  2010-10-21 10:59  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\controlapp.csproj

     文件       1200  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Form1.cs

     文件       3507  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Form1.Designer.cs

     文件      17354  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Form1.resx

     文件        545  2010-10-21 11:24  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.csproj.FileListAbsolute.txt

     文件        847  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.csproj.GenerateResource.Cache

     文件      16896  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.exe

     文件       7928  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.Form1.resources

     文件      24064  2010-10-21 11:23  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.pdb

     文件        180  2010-10-21 10:59  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\controlapp.Properties.Resources.resources

     文件     112464  2010-10-21 10:59  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\ResolveAssemblyReference.cache

     文件        491  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Program.cs

     文件       1376  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties\AssemblyInfo.cs

     文件       2870  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties\Resources.Designer.cs

     文件       5612  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties\Resources.resx

     文件       1095  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties\Settings.Designer.cs

     文件        249  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties\Settings.settings

     文件        920  2010-10-21 10:15  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp.sln

    ..A..H.     17408  2010-10-21 15:16  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp.suo

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug\TempPE

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin\Debug

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj\Debug

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\bin

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\obj

     目录          0  2010-10-21 15:17  放大,缩小,图形显示C#+ARCENGINE\controlapp\controlapp\Properties

............此处省略6个文件信息

评论

共有 条评论