ArcObjects GIS应用开发
文件大小: 5050k
源码售价: 10 个金币 积分规则     积分充值
资源说明:目录 1 开发基础. .................................................................................... 1 1.1 ARCOBJECTS基础 .................................................................................2 1.1.1 ArcObjects简介...........................................................................2 1.1.2 ArcObjects的组件库 ...................................................................4 1.1.3理解对象模型图...........................................................................9 1.2组件对象模型.....................................................................................13 1.2.1软件开发历史.............................................................................13 1.2.2 ҔМᰃ㒘ӊᇍ䈵῵ൟ.................................................................15 1.3 .NETᑇৄὖ䗄....................................................................................19 1.3.1 䗮⫼䇁㿔䖤㸠ᯊ.........................................................................21 1.3.2 .NET Framework ㉏ᑧ.............................................................24 1.4 .NET㒘ӊϢCOM㒘ӊⱘѦ᪡԰.......................................................26 1.4.1 COMࣙ㺙˄ COM Wrappers˅ ................................................27 1.4.2 ESRIᦤկⱘPrimary Interop Assemblies ...............................30 1.4.3 ৥COM݀ᓔ.NETᇍ䈵 ..............................................................31 1.4.4 COM.ࠄNETⱘ㉏ൟ䕀ᤶ ..........................................................34 1.5 ARCGISᓔথ䌘⑤ ...............................................................................35 1.5.1 ArcGIS Software Developer Kit (SDK) ..................................35 1.5.2 ESRI Developer Network Web site........................................41 1.6 ARCGISⱘѠ⃵ᓔথᮍᓣ ...................................................................41 1.6.1 Փ⫼VBA䖯㸠ArcGISḠ䴶ⱘᅮ............................................ ࠊ42 1.6.2 Փ⫼DLL㒘ӊᠽሩArcGISḠ䴶.................................................49 1.6.3 Փ⫼᥻ӊᵘᓎ⣀ゟᑨ⫼⿟ᑣ.....................................................64 2 ARCMAP⫼᠋⬠䴶ᅮ ............................................................ ࠊ71 2.1 APPLICATIONᇍ䈵 ...............................................................................71 2.1.1 IApplication᥹ষ........................................................................72 2.1.2 IMxApplication᥹ষ...................................................................74 2.1.3 IWindowPostion᥹ষ................................................................74 2.1.4 IEnumprinterNames .................................................................75 2.2 DOCUMENTᇍ䈵 .................................................................................75 2.2.1 IMxDocument᥹ষ....................................................................78 2.2.2 IDocumentDefaultSymbols᥹ষ..............................................79 2.2.3 IDocumentEventsǃ IDocumentEventsDisp᥹ষ..................81 i 2.3 ᅮࠊARCMAPⱘ⬠䴶..........................................................................82 2.3.1 ᅮࠊ⢊ᗕᷣ(StatusBar).............................................................82 2.3.2 ᅮذৃࠊ䴴にষ(DockableWindow) .......................................84 2.3.3 ᖿ᥋䬂㸼.....................................................................................85 2.3.4 CommandBars੠ CommandBarᇍ䈵....................................86 2.3.5 CommandItemᇍ䈵...................................................................89 2.4 UICONTROLⱘՓ⫼ ............................................................................90 2.5 Փ⫼EXTENSIONᠽሩARCGIS ...........................................................91 3 Փ⫼ARCOBJECTS᥻ӊ㓪⿟ .............................................. 94 3.1 MAPCONTROL᥻ӊ.............................................................................95 3.1.1 Џ㽕᥹ষ.....................................................................................95 3.1.2 MapControl᥻ӊϢMXD᭛ӊ ...................................................97 3.1.3 哴ᷛϢ᥻ӊⱘѸѦ...................................................................102 3.1.4 ᭄᥂䗝ᢽ...................................................................................104 3.1.5 ᅲ⦄呄ⴐࡳ㛑...........................................................................104 3.2 PAGELAYOUTCONTROL᥻ӊ ............................................................108 3.2.1 PageLayoutControl᪡԰ MXD᭛ӊ......................................109 3.2.2 PageLayoutϢMapControl㘨 .............................................ࡼ110 3.2.3 ೼ Pagelayout䞠䴶㒬ܗࠊ㋴................................................. 112 3.3 TOCCONTROL᥻ӊ.......................................................................... 115 3.3.1 TOCControl᥻ӊὖ䗄.............................................................. 115 3.3.2 ᑨ⫼ᓔথᅲ՟........................................................................... 118 3.4 TOOLBARCONTROLঞⳌ݇ᇍ䈵.......................................................122 3.4.1 ὖ䗄...........................................................................................122 3.4.2 ToolbarControl᥻ӊ.................................................................124 3.4.3 ToolbarItem..............................................................................127 3.4.4 ToolbarMenu 㒘ӊ㉏..............................................................128 3.4.5 CustomizeDialog.....................................................................129 3.5 CONTROLCOMMANDS.......................................................................132 3.5.1 ὖ䗄...........................................................................................132 3.5.2 ControlCommands with the ToolbarControl........................132 3.5.3 ControlCommands without the ToolbarControl ..................132 3.6 ᑨ⫼ᓔথᅲ՟...................................................................................134 3.6.1 ὖ䗄...........................................................................................134 3.6.2 㞾ᅮНੑҸᓔথᅲ՟...............................................................138 3.6.3 㞾ᅮНᎹ݋ᓔথᅲ՟...............................................................140 3.6.4 㞾ᅮН㦰ऩᓔথᅲ՟...............................................................143 ii 4 ԩ޴ᔶԧᇍ䈵--GEOMETRY .............................................. 149 4.1 GEOMETRY῵ൟ................................................................................149 4.2 POINT੠MULTIPOINTᇍ䈵 ................................................................153 4.2.1 Pointᇍ䈵..................................................................................153 4.2.2 Multipointᇍ䈵..........................................................................160 4.3 ࣙ㒰㒓 ENVELOPE ...........................................................................163 4.4 ᳆㒓(CURVE) ....................................................................................166 4.4.1 Segmentᇍ䈵...........................................................................168 4.4.2 䏃ᕘ(Path)ᇍ䈵........................................................................178 4.4.3 ⦃(Ring)ᇍ䈵............................................................................180 4.4.4 PolyCurveᇍ䈵 ........................................................................181 4.5 GEOMETRY䲚ড়᥹ষ........................................................................187 4.5.1 IGeoemtryCollection᥹ষ.......................................................187 4.5.2 ISegmentCollection᥹ষ........................................................189 4.5.3 IPointCollection᥹ষ...............................................................190 4.6 ࡼᗕ䎳䏾...........................................................................................190 4.7 ぎ䯈খ㗗...........................................................................................192 4.7.1 ҔМᰃぎ䯈খ㗗.......................................................................192 4.7.2 ϸ⾡തᷛ㋏㒳...........................................................................195 4.7.3 A0 Ёぎ䯈খ㗗ⱘ䆒㕂.............................................................198 4.7.4 SpatialReferenceᇍ䈵 ............................................................200 5 ഄ೒ⱘ㒘៤............................................................................ 202 5.1 MAPᇍ䈵...........................................................................................202 5.1.1 IMap᥹ষ..................................................................................203 5.1.2 IGraphicsContainer᥹ষ ........................................................206 5.1.3 IActiveView᥹ষ ......................................................................208 5.1.4 IActiveViewEvents᥹ষ.......................................................... 211 5.1.5 IMapBookmark᥹ষ................................................................ 211 5.1.6 ITableCollection᥹ষ............................................................... 211 5.2 ೒ሖᇍ䈵...........................................................................................212 5.2.1 ILayer᥹ষ................................................................................212 5.2.2 㽕㋴೒ሖ...................................................................................213 5.2.3 ᕔഄ೒ЁܹࡴCAD᭛ӊ ..........................................................221 5.2.4 TIN೒ሖ ....................................................................................224 5.2.5 GraphicsLayer.........................................................................225 5.3 SCREENDISPLAYᇍ䈵.......................................................................225 iii 5.4 ഄ೒ᥦ⠜...........................................................................................229 5.4.1 PageLayoutᇍ䈵 .....................................................................230 5.4.2 Pageᇍ䈵 .................................................................................231 5.4.3 SnapGridᇍ䈵..........................................................................232 5.4.4 SnapGuidesᇍ䈵.....................................................................233 5.4.5 RulerSettingsᇍ䈵...................................................................234 5.5 ELEMENTᇍ䈵...................................................................................234 5.5.1 ೒ᔶܗ㋴...................................................................................235 5.5.2 Ḛᶊܗ㋴...................................................................................241 5.5.3 ܗ㋴ⱘ䗝ᢽ䎳䏾ᇍ䈵...............................................................244 5.6 MAPGRIDᇍ䈵῵ൟ ..........................................................................245 5.6.1 MapGridᇍ䈵 ...........................................................................246 5.6.2 MapGridBorderᇍ䈵 ...............................................................248 5.6.3 MapGridLabelᇍ䈵..................................................................249 5.6.4 MapGridFactoryᇍ䈵 ..............................................................252 5.7 MAPSURROUNDᇍ䈵........................................................................254 5.7.1 ೒՟ᇍ䈵...................................................................................254 5.7.2 ᣛ࣫䩜ᇍ䈵...............................................................................257 5.7.3 ↨՟ሎᇍ䈵...............................................................................257 5.7.4 ↨՟᭛ᴀᇍ䈵...........................................................................261 5.8 Փ⫼STYLEᇍ䈵................................................................................262 5.8.1 StyleGalleryᇍ䈵 .....................................................................263 5.8.2 StyleSelectorᇍ䈵 ...................................................................265 5.8.3 IStyleDialog᥹ষ......................................................................266 5.9 IDENTIFYDIALOGᇍ䈵 ......................................................................268 6 ぎ䯈᭄᥂ⱘヺো ................................................................࣪271 6.1 买㡆ᇍ䈵...........................................................................................271 6.1.1 Colorᇍ䈵 .................................................................................274 6.1.2 买㡆ᇍ䆱Ḛ...............................................................................275 6.1.3 ColorRampᇍ䈵.......................................................................278 6.2 SYMBOLᇍ䈵.....................................................................................280 6.2.1 MarkerSymbolᇍ䈵.................................................................282 6.2.2 LineSymbolᇍ䈵......................................................................285 6.2.3 FillSymbolᇍ䈵 ........................................................................288 6.2.4 TextSymbolᇍ䈵 ......................................................................291 6.2.5 3DChartSymbolᇍ䈵...............................................................294 6.3 ԰ࠊϧ乬೒.......................................................................................295 iv 6.3.1 SimpleRendererⴔ㡆⊩..........................................................297 6.3.2 ClassBreakRendererⴔ㡆⊩..................................................299 6.3.3 UniqueValueRendererⴔ㡆⊩................................................304 6.3.4 ProportionalSymbolRendererⴔ㡆⊩ ...................................308 6.3.5 ChartRendererⴔ㡆 ................................................................312 6.3.6 DotDensityRendererⴔ㡆⊩...................................................323 6.3.7 ⴔ㡆ЁՓ⫼ⱘ䅵ㅫᮍ⊩...........................................................326 6.4 ഄ೒ⱘᷛ⊼.......................................................................................330 6.4.1 TextElementᷛ⊼.....................................................................330 6.4.2 ArcObjectsЁⱘᷛ⊼ ...............................................................333 6.5 བԩϢഄ೒䖯㸠Ѧ.......................................................................ࡼ336 6.5.1 ѻ⫳ᮄGeometryⱘFeedbackᇍ䈵........................................337 6.5.2 ⿏ԩ޴ࡼᔶԧᇍ䈵Ϟⱘ㡖⚍...................................................344 6.5.3 ⿏ࡼᭈϾᇍ䈵...........................................................................349 6.5.4 ݊Ҫ DisplayFeedbackҟ㒡 ................................................352 7 ഄ೒ⱘ䕧 ............................................................................ߎ358 7.1 ഄ೒ⱘᠧॄ䕧...............................................................................ߎ358 7.1.1 Printer㉏...................................................................................358 7.1.2 Paperᇍ䈵 ................................................................................360 7.1.3 ೼᥻ӊЁᠧॄ䕧...................................................................ߎ362 7.2 ഄ೒ⱘ䕀ᤶ䕧...............................................................................ߎ363 7.2.1 ෎ѢᕅڣḐᓣⱘ䕧...............................................................ߎ363 7.2.2 ෎Ѣⶶ䞣Ḑᓣⱘ䕧...............................................................ߎ366 7.2.3 ExportFileDialogᇍ䈵 .............................................................369 8 ぎ䯈᭄᥂ㅵ⧚........................................................................ 373 8.1 GEODATABASEⱘ෎⸔ⶹ䆚..............................................................374 8.2 WORKSPACE ঞⳌ݇ᇍ䈵................................................................378 8.2.1 ᠧᓔᎹ԰ぎ䯈...........................................................................379 8.2.2 Ꮉ԰ぎ䯈...................................................................................383 8.2.3 PropertySet..............................................................................387 8.2.4 ৡ⿄ᇍ䈵...................................................................................388 8.3 DATASETᇍ䈵....................................................................................389 8.3.1 GeoDataset㉏ .........................................................................390 8.3.2 FeatureDatasetᇍ䈵 ...............................................................390 8.4 㸼ǃᇍ䈵㉏੠㽕㋴㉏.......................................................................393 8.4.1 Tableᇍ䈵 .................................................................................395 v 8.4.2 ObjectClassᇍ䈵 .....................................................................398 8.4.3 FeatureClassᇍ䈵...................................................................401 8.4.4 ᄫ↉䲚Ϣᄫ↉...........................................................................403 8.4.5 Ϣᄫ↉Ⳍ݇ⱘᇍ䈵...................................................................408 8.5 ROWˈ OBJECT ੠ FEATURE ᇍ䈵................................................414 8.5.1 RowBuffer੠Rowᇍ䈵 ............................................................415 8.5.2 Object੠Featureᇍ䈵 .............................................................416 8.5.3 ⚍䗝⊩㦋প㽕㋴.......................................................................420 8.5.4 ᳈ᮄ㽕㋴...................................................................................423 8.6 ݇㋏Ϣ݇㋏㉏...................................................................................425 8.7 ᭄᥂䕀ᤶϢ㺙䕑...............................................................................428 9 ぎ䯈ߚᵤ................................................................................ 433 9.1 ぎ䯈ᶹ䆶...........................................................................................433 9.1.1 Cursorᇍ䈵...............................................................................434 9.1.2 QueryFilterϢSpatialFilterᇍ䈵 ..............................................435 9.1.3 QueryDefᇍ䈵..........................................................................439 9.1.4 TableSortᇍ䈵..........................................................................440 9.1.5 㽕㋴䗝ᢽ䲚...............................................................................442 9.2 ぎ䯈ᢧᠥ䖤ㅫ...................................................................................445 9.2.1 ITopologicalOperator᥹ষ......................................................445 9.2.2 ᓔথᅲ՟...................................................................................451 9.3 ぎ䯈݇㋏䖤ㅫ...................................................................................457 9.3.1 IRelationaloperator᥹ষ.........................................................457 9.3.2 ᓔথᅲ՟--ᶹᡒᶤϔ໮䖍ᔶ㽕㋴ⱘ᠔᳝䚏᥹㽕㋴ ................461 9.4 IPROXIMITYOPERATOR᥹ষ.............................................................465 9.5 ঴ߚࡴᵤ...........................................................................................468 9.5.1 ⶶ䞣೒ሖ঴ߚࡴᵤ...................................................................468 9.5.2 ᷙḐ೒ሖⱘ঴ߚࡴᵤ...............................................................477 10 ぎ䯈᭄᥂㓪䕥--MAPEDITINGᅲ՟ࠪᵤ ............................ 480 10.1 IWORKSPACEEDIT᥹ষ ....................................................................480 10.2 MAPEDITINGࡳ㛑ࠪᵤ .....................................................................482 10.2.1 ࡳ㛑ὖ䗄...................................................................................482 10.2.2 ҷⷕߚᵤ...................................................................................483 11 ARCCATALOGᇍ䈵............................................................ 493 11.1 GXOBJECTᇍ䈵 ................................................................................495 vi 11.2 GXDIALOGᇍ䈵.................................................................................499 12 RASTER᭄᥂ㅔҟ................................................................ 502 12.1 RASTERWORKSPACEᇍ䈵 ...............................................................503 12.2 ᷙḐ᭄᥂䲚...................................................................................505 12.3 ᷙḐ೒ሖᇍ䈵...............................................................................507 খ㗗᭛⤂ .......................................................................................... 509
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。