Getting to Know ArcObjects

Robert Burke

  • 出版商: ESRI Press
  • 售價: $1,980
  • 貴賓價: 9.8$1,940
  • 語言: 英文
  • 頁數: 436
  • 裝訂: Paperback
  • ISBN: 158948018X
  • ISBN-13: 9781589480186
  • 相關分類: Visual Basic
  • 立即出貨(限量) (庫存=1)




ArcObjects™ are the building blocks of ArcGIS®, geographic information system (GIS) software from ESRI®. With ArcObjects, you can create your own menus, tools, workflows, applications, and custom feature classes for use with ArcGIS. Getting to Know ArcObjects is designed to teach programmers of all skill levels, including absolute beginners, how to work with ArcObjects using Microsoft® Visual Basic for Applications (VBA).

Getting to Know ArcObjects teaches the basics of VBA programming, then progresses quickly to ArcObjects. Readers learn what ArcObjects are, use object model diagrams to find out what individual objects do, and program objects to execute specific GIS tasks, including:

  • Adding layers to a map
  • Defining layer symbology
  • Querying data
  • Working with selected features
  • Creating dynamic layouts
  • Editing feature attributes

    Like other books in the Getting to Know series, Getting to Know ArcObjects uses a proven learning method that combines focused conceptual material with step-based exercises. Diagrams and color graphics enhance the concepts and provide direction and reinforcement in the exercises.

    Getting to Know ArcObjects supports the self-learner and makes a practical lab manual for instructors in the classroom. Those who are new to programming, or just new to ArcObjects, will find this book to be the perfect starting place for getting the most out of ArcGIS and the objects on which it is built.


    Table of Contents:

    Chapter 1 Programming with objects
    Section 1 Understanding VBA
    Chapter 2 Building a custom application
    Exercise 2a Organizing commands on a toolbar
    Exercise 2b Making your own commands
    Exercise 2c Storing values with variables
    Chapter 3 Creating a dialog box
    Exercise 3 Using controls to build a form
    Chapter 4 Programming with objects
    Exercise 4a Programming with methods
    Exercise 4b Getting and setting an object's properties
    Chapter 5 Code for making decisions
    Exercise 5a Making a Case for branching
    Exercise 5b Coding an If Then statement
    Chapter 6 Using subroutines and functions
    Exercise 6a Calling a subroutine
    Exercise 6b Passing values to a subroutine
    Exercise 6c Making several calls to a single subroutine
    Exercise 6d Returning values with functions
    Chapter 7 Looping your code
    Exercise 7a Coding a For loop
    Exercise 7b Coding a Do loop
    Chapter 8 Fixing bugs
    Exercise 8 Using the debug tools
    Section 2 Understanding ArcObjects
    Chapter 9 Making your own objects
    Exercise 9a Creating classes
    Exercise 9b Creating objects
    Chapter 10 Programming with interfaces
    Exercise 10a Using IApplication and IDocument
    Exercise 10b Using multiple interfaces
    Chapter 11 Navigating object model diagrams
    Exercise 11a Getting layers
    Exercise 11b Creating and assigning colors
    Chapter 12 Making tools
    Exercise 12a Reporting coordinates
    Exercise 12b Drawing graphics
    Exercise 12c Using TypeOf statements
    Section 3 Using ArcObjects
    Chapter 13 Executing commands
    Exercise 13 Using CommandItems and CommandBars
    Chapter 14 Adding layers to a map
    Exercise 14a Adding a geodatabase feature class
    Exercise 14b Adding a raster data set
    Chapter 15 Setting layer symbology
    Exercise 15a Setting layer color
    Exercise 15b Setting layer symbols
    Exercise 15c Creating a class breaks renderer
    Chapter 16 Using ArcCatalog objects in ArcMap
    Exercise 16a Adding layer files to ArcMap
    Exercise 16b Making your own Add Data dialog box
    Chapter 17 Controlling feature display
    Exercise 17a Making definition queries
    Exercise 17b Selecting features and setting the selection color
    Chapter 18 Working with selected features
    Exercise 18a Using selection sets
    Exercise 18b Using cursors
    Chapter 19 Making dynamic layouts
    Exercise 19a Naming elements
    Exercise 19b Manipulating text elements
    Chapter 20 Editing tables
    Exercise 20a Adding fields
    Exercise 20b Getting and setting values
    What's next?
    Appendix A Data license agreement
    Appendix B Installing the data Index


    ArcObjects™是ESRI®的地理信息系統(GIS)軟件ArcGIS®的構建模塊。使用ArcObjects,您可以創建自己的菜單、工具、工作流、應用程序和自定義要素類,以便與ArcGIS一起使用。《了解ArcObjects》旨在教授各級程式設計師,包括完全初學者,如何使用Microsoft® Visual Basic for Applications(VBA)來使用ArcObjects。

    - 將圖層添加到地圖
    - 定義圖層符號
    - 查詢數據
    - 處理選定的要素
    - 創建動態佈局
    - 編輯要素屬性



    1. 使用對象進行編程
    - 第1章:使用對象進行編程
    - 第1節:理解VBA
    - 第2章:構建自定義應用程序
    - 練習2a:在工具欄上組織命令
    - 練習2b:創建自己的命令
    - 練習2c:使用變量存儲值
    - 第3章:創建對話框
    - 練習3:使用控件構建表單
    - 第4章:使用對象進行編程
    - 練習4a:使用方法進行編程
    - 練習4b:獲取和設置對象的屬性
    - 第5章:編寫決策代碼
    - 練習5a:使用Case進行分支
    - 練習5b:編寫If Then語句
    - 第6章:使用子程序和函數
    - 練習6a:調用子程序
    - 練習6b:向子程序傳遞值
    - 練習6c:對單個子程序進行多次調用
    - 練習6d:使用函數返回值