• 大小: 37.47MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-17
  • 语言: C#
  • 标签: c#+ae  

资源简介

c#+ae的各种功能实现例子很多很详细,渲染、查询、分析等都有。

资源截图

代码片段和文件信息

// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws treaties and conventions.
// 
// You may freely redistribute and use this sample code with or
// without modification provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions at <your ArcGIS install location>/DeveloperKit10.0/userestrictions.txt.
// 

//------------------------------------------------------------------------------
// 
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3607
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// 

//------------------------------------------------------------------------------

namespace AddInEditorExtension {
    using ESRI.ArcGIS.framework;
    using ESRI.ArcGIS.ArcMapUI;
    using ESRI.ArcGIS.Editor;
    using ESRI.ArcGIS.esriSystem;
    using System;
    using System.Collections.Generic;
    using ESRI.ArcGIS.Desktop.AddIns;
    
    
    internal partial class ThisAddIn {
        
        internal static string Name {
            get {
                return “AddInEditorExtension“;
            }
        }
        
        internal static string AddInID {
            get {
                return “{be3892ee-98b2-4d13-8ac2-33896ef8c55e}“;
            }
        }
        
        internal static string Company {
            get {
                return “ESRI“;
            }
        }
        
        internal static string Version {
            get {
                return “1.0“;
            }
        }
        
        internal static string Description {
            get {
                return “Walkthrough Add-in for Editor Extension.“;
            }
        }
        
        internal static string Author {
            get {
                return “arok5348“;
            }
        }
        
        internal static string Date {
            get {
                return “8/19/2009 12:59:51 PM“;
            }
        }
    }
    
internal static class ArcMap
{
  private static IApplication s_app = null;
  private static IDocumentEvents_Event s_docEvent;

  public static IApplication Application
  {
    get
    {
      if (s_app == null)
      {
        s_app = Internal.AddInStartupobject.GetHook() as IApplication;
        if (s_app == null)
        {
          IEditor editorHost = Internal.AddInStartupobject.GetHook();
          if (editorHost != null)
            s_app = editorHost.Parent;
        }
      }
      return s_app;
    }
  }

  public static IMxDocument Document
  {
    get
    {
      if (Application != null)
        return Application.Document as IMxDocument;

      return null;
    }
  }
  public static IMxApplication ThisApplication
  {
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-08-21 15:24  ArcobjectsNet\
     目录           0  2013-08-21 15:24  ArcobjectsNet\ARControlAttributeQuery\
     目录           0  2013-08-21 15:24  ArcobjectsNet\ARControlAttributeQuery\CSharp\
     文件        2884  2010-05-14 12:07  ArcobjectsNet\ARControlAttributeQuery\CSharp\AssemblyInfo.cs
     文件       33873  2010-05-14 12:07  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery.cs
     文件       34750  2008-11-17 14:35  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery.resx
     文件        5796  2010-02-22 16:20  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery2008.csproj
     文件         872  2010-02-22 12:03  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery2008.sln
     文件        7425  2010-04-18 16:02  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery2010.csproj
     文件         872  2010-04-18 16:02  ArcobjectsNet\ARControlAttributeQuery\CSharp\AttributeQuery2010.sln
     文件        4588  2010-05-14 12:07  ArcobjectsNet\ARControlAttributeQuery\ReadMe.htm
     目录           0  2013-08-21 15:24  ArcobjectsNet\ARControlAttributeQuery\VBNET\
     文件        1491  2010-05-14 12:07  ArcobjectsNet\ARControlAttributeQuery\VBNET\AssemblyInfo.vb
     文件       34811  2008-11-17 14:35  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery.resx
     文件       32224  2010-05-14 12:07  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery.vb
     文件         872  2010-02-22 12:03  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery2008.sln
     文件        6230  2010-02-22 12:10  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery2008.vbproj
     文件         872  2010-04-18 16:03  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery2010.sln
     文件        7895  2010-04-18 16:02  ArcobjectsNet\ARControlAttributeQuery\VBNET\AttributeQuery2010.vbproj
     目录           0  2013-08-21 15:24  ArcobjectsNet\ARControlDocumentProperties\
     目录           0  2013-08-21 15:24  ArcobjectsNet\ARControlDocumentProperties\CSharp\
     文件        2884  2010-05-14 12:07  ArcobjectsNet\ARControlDocumentProperties\CSharp\AssemblyInfo.cs
     文件       19620  2010-05-14 12:07  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties.cs
     文件       14977  2008-11-17 14:35  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties.resx
     文件        5373  2010-02-22 17:01  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties2008.csproj
     文件         880  2010-02-22 12:03  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties2008.sln
     文件        7006  2010-04-18 16:04  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties2010.csproj
     文件         880  2010-04-18 16:04  ArcobjectsNet\ARControlDocumentProperties\CSharp\DocumentProperties2010.sln
     文件         238  2008-11-17 14:35  ArcobjectsNet\ARControlDocumentProperties\CSharp\browse.bmp
     文件         246  2008-11-17 14:35  ArcobjectsNet\ARControlDocumentProperties\CSharp\properti.bmp
     文件        3844  2010-05-14 12:07  ArcobjectsNet\ARControlDocumentProperties\ReadMe.htm
............此处省略7936个文件信息

评论

共有 条评论