MapX 开发人员指南 MapX 5.0 中文开发指南 PDF 免费下载

欢迎使用 MapInfo 系列产品。随着企业地图绘制领域的发展壮大, MapInfo 继续致力于推出为满足用户的桌面和企业地图绘制需要而设计的各种新产品,包括从标志性的产品 MapInfo Professional 直到最为专业化的产品 MapMarker(我们的主要地址匹配产品)。
MapInfo MapX 是地图绘制控件,可以使您轻松地在您的应用程序中添加强大的地图绘制功能。使用地图,您可以通过每一人都很容易理解的格式显示信息。地图比简单的图表和图形更具信息性,并且比电子表格更快和更容易地加以解释。
MapX 基于与其它 MapInfo 产品(例如 MapInfo Professional)所使用的相同的地图绘制技术。如果您创建或购买了 MapInfo 地图数据(表)以用于 MapInfo Professional,则可以将同样这些文件用于 MapX。

目 录

欢迎使用….. 27
MapInfo MapX 的新增功能.. . . 27
关于 MapInfo.31
第 1 章: MapX 简介. . . 33
地图绘制简介. . . . 34
使 MapX 适合您工作… . . 34
主要功能概述. . . . 34
学习 MapX… 35
第 2 章: MapX 基础. . . 37
Map 对象. 38
属性页. . . 38
图层.40
GeoSet. . . 41
Dataset. . . 42
注释.42
MapX 中的可创建对象…. 43
第 3 章: 地图绘制概念. 47
组织您的数据和地图:表概述.48
什么是 GeoSet?. . 48
地图图元. 49
将数据放置于地图上… . . 49
MapX 的强大之处….50
第 4 章: 设计阶段MapX 速成教学.. 51
何为 MapX?.. . . . 52
安装 MapX 之前的注意事项.. . 53
安装 MapX… 53
添加地图控件. . . . 55
从较早的 MapX 版本升级 Visual Basic 应用程序.. 55
从初期的 MapX 版本升级 C++ 应用程序.. 56
Visual Basic 速成教学… . 56
Visual C++ 速成教学… . . 61
目 录
4 MapInfo MapX 5.0 开发人员指南
Delphi 速成教学. . 61
MapX 文档集. . . . 61
后续内容. 63
第 5 章: 在图层中绘制地图. . . . 65
作为图层的地图. . 66
Layer 集合:地图的构建模块..66
Layer 集合的某些属性…. 68
Layer 集合的某些方法…. 70
使用 LayerInfo 对象创建图层.. 72
Layer 对象… 74
图层顺序. 75
检查图层. 75
检查图元类型. . . . 76
缩放图层. 76
生成用于图层的标签… . . 78
注释.80
光栅图像. 80
动画图层. 81
绘制图层. 82
第 6 章: 将数据加入地图..85
什么是数据绑定?…86
将数据加入地图的作用… 86
如何将数据加入地图… . . 87
使用 Dataset 对象. 87
使用 Datasets 集合…87
使用 Datasets.Add 方法… 88
使用 Fields 集合. . 91
使用 Fields.Add 方法… . . 92
将数据显示为点图层 (BindLayer).. . 92
使新的点图层成为永久图层.. . 95
数据绑定如何使用 GeoDictionary.. . 96
不同类型的数据源…97
XML 支持.. . 99
第 7 章: 图元和选择集合.. . . . 105
目 录
MapInfo MapX 5.0 开发人员指南5
什么是地图图元?… . . . 106
什么是 Features 集合?…106
什么是 Selection 集合?..106
使用 Features 集合…. . . . 106
了解 Selection 集合…. . . 108
图元编辑.. . 109
第 8 章: 主题地图绘制和分析.. 111
什么是主题地图绘制?..112
规划主题地图. . . 112
主题地图绘制的类型… . 114
处理主题地图. . . 122
自定义主题图例. 123
标签主题.. . 123
第 9 章: 查找地图上的图元.. . . 125
使用 Find 对象.. . 126
使用 FindFeature 对象…. 126
第 10 章: 使用 Geodictionary 和 Geoset Manager . . 129
使用 GeodictionaryManager.. . 130
GeoDictionary Manager 的用户界面131
使用 Geoset Manager…. . 136
第 11 章: 使用逐层细化图层.. . 147
什么是逐层细化图层?..148
应当了解的术语和概念..149
如何开发逐层细化应用程序.. 150
准备逐层细化图层… . . . 150
创建逐层细化工具… . . . 152
重置逐层细化图层… . . . 154
逐层细化图层的限制和要求.. 154
详细信息….154
第 12 章: 访问 DBMS 中的数据157
访问远程空间数据… . . . 158
通过 LayerInfo 对象使用 Layers.Add 方法… 158
目 录
6 MapInfo MapX 5.0 开发人员指南
通过 .tab 文件访问远程表.. . . 159
通过 X/Y 列对 DBMS 数据进行地图绘制… 159
Oracle 支持.159
DBMS LayerInfo 参数… 162
DBMS 连接字符串格式… . . . 162
MapX DBMS 图层查询..164
访问属性数据. . . 165
性能问题.. . 166
使用缓存.. . 166
MapInfo 地图目录…. . . . 168
每个记录的样式. 170
使 DBMS 表成为可以进行地图绘制的表172
故障排除.. . 175
第 13 章: 使用坐标系统..177
坐标系统的基本概念… . 178
获取坐标系统对象… . . . 178
查询 CoordSys 对象的属性.. . 178
在不同 CoordSys 中显示地图.178
在不同 CoordSys 中指定 X-Y 坐标179
显示“选择投影”对话框… . 180
概要介绍坐标系统所使用的参数. . 181
使用来自 MAPINFOW.PRJ 的设置183
应用仿射转换. . . 185
定义定制数据. . . 185
数据转换.. . 187
更多信息….187
第 14 章: 使用 Visual C++. . . 189
理解示例应用程序… . . . 190
从早期的 MapX 版本升级 C++ 应用程序190
访问 C++ 中的 MapX 属性和方法. 191
在您的项目中包括 MapX.cpp.192
使用 C++ 创建 MapX 控件.. . 192
使用 C++ 创建菜单项… 194
使用 C++ 处理 MapX 事件.. . 195
使用定制工具(C++ 示例)..197
目 录
MapInfo MapX 5.0 开发人员指南7
使用 C++ 进行数据绑定… . . . 198
使用 C++ 添加快捷菜单… . . . 200
使用 C++ 的内置帮助程序对话框.. 201
使用 C++ 处理 MapX 异常错误.. . . 202
在 C++ 对话框中创建地图… . 203
第 15 章: MapX 工具. 207
标准工具概述. . . 208
对象编辑工具. . . 209
节点选择和编辑. 209
创建定制工具. . . 212
创建多边形绘制工具 (Polytools). . . 214
第 16 章: 导出地图.. . 217
导出地图的方法. 218
ExportSelection 属性…. . 219
打印地图.. . 219
第 17 章: 分发您的 MapX 应用程序.. . . 221
MapX 客户安装.. 222
安装 MapX..223
空间服务器访问安装支持.. . . 226
安装光栅格式处理程序..227
安装地图和 Geoset… . . . 229
向 Windows 注册表添加注册表项.. 229
传入 MapX 许可证字符串中.. 230
重新通过 MrSID 分发您的 MapX 应用程序.230
重新通过 ECW 分发您的 MapX 应用程序… 231
第 18 章: MapX 对象模型.. . . . 233
Affine Transform 对象…. 234
AffineTransform.A, B, C, D, E, F 属性.. . . 234
AffineTransform.Set 方法.. . . . 235
AffineTransform.Units 方法.. . 235
AllFeaturesConstraint 对象.. . . 236
AllFeaturesConstraint.Disable 方法.. 236
AllFeaturesConstraint.Enable 方法. . 237
AllFeaturesConstraint.Enabled 属性. 237
目 录
8 MapInfo MapX 5.0 开发人员指南
Annotation 对象和Annotations 集合. . . . 238
Annotation.Graphic 属性.. . . . .238
Annotation.Type 属性…. .239
Annotations.ActiveAnnotation 方法..239
Annotations.AddSymbol 方法…239
Annotations.AddText 方法.. . . .239
Annotations.Count 属性…240
Annotations.Editable 属性… . . .240
Annotations.Item 属性…. .240
Annotations.Remove 方法… . . .241
Annotations.RemoveAll 方法.. .241
BindLayer 对象. 242
BindLayer.CoordSys 属性… . . .242
BindLayer.Filespec 属性… . . . .242
BindLayer.KeyLength 属性… . .243
BindLayer.LayerName 属性.. . .243
BindLayer.LayerType 属性… . .243
BindLayer.OverwriteFile 属性..244
BindLayer.RefColumn1 属性.. .244
BindLayer.RefColumn2 属性.. .245
BindLayer.ReferenceLayer 属性.. . . .245
BindLayer.ReferenceLayerField 属性.. . . . .245
BitmapSymbol 对象 和 BitmapSymbols 集合.247
BitmapSymbol.Name 属性.. . . .247
BitmapSymbols.Count 属性.. . .247
BitmapSymbols.Item 属性… . . .248
BitmapSymbols.Refresh 方法…248
BitmapSymbols.Unload 方法.. .248
BoundsConstraint 对象… 249
BoundsConstraint.Bounds 属性.. . . . .249
BoundsConstraint.Disabel 方法.. . . . .250
BoundsConstraint.Enable 方法..250
BoundsConstraint.Enabled 属性. . . . .251
CoordSys 对象. . 252
CoordSys.AffineTransform 属性.. . . .252
CoordSys.Azimuth 属性…253
CoordSys.Bounds 属性… .253
CoordSys.Clone 方法… . .253
CoordSys.Datum 属性… .253
CoordSys.FalseEasting 和 CoordSys.FalseNorthing 属性. . . .253
CoordSys.OriginLatitude、OriginLongitude 属性. .254
CoordSys.PickCoordSys 方法…254
CoordSys.Range 属性… . .254
CoordSys.ScaleFactor 属性… . .254
CoordSys.Set 方法…. . . . .255
目 录
MapInfo MapX 5.0 开发人员指南9
CoordSys.StandardParallelOne、StandardParallelTwo 属性256
CoordSys.Type 属性… . . 256
CoordSys.Units 属性… . . 256
Dataset 对象和 Datasets 集合.. 257
Dataset.AddField 方法…. 258
Datasets.BuildSourceRows 属性.. . . 259
Dataset.Fields 属性… . . . 259
Dataset.GeoField 属性…. 259
Dataset.Layer 属性…. . . . 259
Dataset.Name 属性… . . . 259
Dataset.Refresh 方法… . . 260
Dataset.RowValues 属性… . . . 260
Dataset.RowCount 属性…260
Dataset.ReadOnly 属性… 261
Datasets.Restore 方法… . 261
Dataset.SecondaryGeoField 属性. . . 262
Dataset.SourceRows 属性.. . . . 262
Dataset.Themes 属性…. . 262
Dataset.Type 属性…262
Dataset.Value 方法…. . . . 262
Datasets.Add 方法…263
Datasets.Contains 方法… 265
Datasets.Count 属性…. . . 265
Datasets.Item 属性…. . . . 265
Datasets.Remove 方法…. 266
Datasets.RemoveAll 方法.. . . . 266
Datum 对象.267
Datum.Eccentricity 属性..267
Datum.Ellipsoid 属性…. . 267
Datum.Flattening 属性…. 267
Datum.PrimeMeridian 属性… . 268
Datum.RotateX、RotateY、RotateZ 属性268
Datum.ScaleAdjust 属性..268
Datum.SemiMajorAxis, SemiMinorAxis 属性.268
Datum.Set 方法. . 269
Datum.SetFromList 方法… . . . 269
Datum.ShiftX、ShiftY、ShiftZ 属性. . . . 270
Feature 对象和 Features 集合.. 271
Feature.Area 属性…272
Feature.Attach 方法…. . . 272
Feature.Clone 方法…. . . . 273
Feature.Bounds 属性… . . 273
Feature.Caption 属性…. . 273
Feature.CenterX 属性, CenterY 属性. . . . 274
Feature.FeatureID 属性… 274
目 录
10 MapInfo MapX 5.0 开发人员指南
Feature.FeatureKey 属性… . . . .274
Feature.KeyValue 属性….275
Feature.HasMultipoint 属性.. . .275
Feature.HasPolyline 属性.. . . . .276
Feature.HasRegion 属性…276
Feature.LabelPoint 属性…276
Feature.Layer 属性… . . . .276
Feature.Length 属性… . . .276
Feature.Multipoint 属性….277
Feature.Name 属性… . . . .277
Feature.Nodes 属性…. . . .277
Feature.Offset 方法… . . . .278
Feature.Parts 属性.278
Feature.Perimeter 属性…278
Feature.Point 属性…. . . . .279
Feature.Polyline 属性… . .279
Feature.Region 属性… . . .279
Feature.Smooth 属性…. . .279
Feature.Style 属性…. . . . .280
Feature.Type 属性…. . . . .280
Feature.Update 方法… . . .280
Features.Add 方法…. . . . .281
Features.AddByID 方法…281
Features.Bounds 属性… . .281
Features.Clone 方法…. . . .282
Features.Common 方法….282
Features.Count 属性… . . .282
Features.Item 属性…. . . . .283
Features.Remove 方法…. .283
Features.RemoveByID 方法.. . .283
Features.Replace 方法…. .283
FeaturesConstraint 对象..285
FeaturesConstraint.Disable 方法.. . . .285
FeaturesConstraint.Enabled 属性. . . .286
FeaturesConstraint.Features 属性. . . .286
FeaturesConstraint.Enable 方法. . . . .286
FeatureFactory 对象… . . 288
FeatureFactory.BufferFeatures 方法..288
FeatureFactory.CombineFeatures 方法.. . . .289
FeatureFactory.CreateArc 方法.. . . . .290
FeatureFactory.CreateCircularRegion 方法.293
FeatureFactory.CreateCollectionFeature 方法..294
FeatureFactory.CreateEllipticalRegion 方法… .294
FeatureFactory.CreateLine 方法. . . . .295
FeatureFactory.CreateMultipoint 方法. . . . .295
FeatureFactory.CreateRegion 方法.. .296
目 录
MapInfo MapX 5.0 开发人员指南11
FeatureFactory.CreateSymbol 方法.. 296
FeatureFactory.CreateText 方法. . . . 296
FeatureFactory.EraseFeature 方法.. . 297
FeatureFactory.IntersectFeatures 方法.. . . . 299
FeatureFactory.IntersectionPoints 方法.. . . 300
FeatureFactory.IntersectionTest 方法301
Field 对象和 Fields 集合.. . . 302
Field.AggregationFunction 属性. . . . 303
Field.Decimals 属性…. . . 303
Field.Indexed 属性…. . . . 303
Field.Name 属性. 303
Field.Precision 属性…. . . 303
Field.Width 属性. 303
Field.Type 属性. . 304
Field.TypeEx 属性…. . . . 304
Fields.Add 方法.. 305
Fields.AddDateField 方法.. . . . 306
Fields.AddFloatField… . . 306
Fields.AddIntegerField…. 306
Fields.AddLogicalField 方法… 307
Fields.AddNumericField 方法..307
Fields.AddSmallIntField 方法..308
Fields.Count 属性….309
Fields.Item 属性.. 309
Fields.Remove 方法…. . . 309
Fields.RemoveAll 方法… 310
Find 对象.. . 311
Find.Abbreviations 属性..311
Find.CloseMatchMax 属性.. . . 311
Find.ClosestAddr 属性…. 312
Find.FindDataset 属性…. 312
Find.FindField 属性…. . . 312
Find.SearchEx 方法…. . . 312
Find.OtherBoundary 属性.. . . . 313
Find.RefineDataset 属性..313
Find.RefineField 属性… . 313
Find.RefineLayer 属性…. 313
Find.Search 方法. 314
FindFeature 对象…315
FindFeature.FindRC 属性.. . . . 315
FindMatch 对象和 FindMatches 集合. . . . 317
FindMatch.Name 属性…. 317
FindMatch.FeatureID 属性.. . . 317
FindMatch.FeatureKey 属性.. . 317
FindMatches.Count 属性… . . . 318
目 录
12 MapInfo MapX 5.0 开发人员指南
FindMatches.Item 属性….318
FindResult 对象. 319
FindResult.AddressOutOfRange 属性.. . . . .319
FindResult.ExactMatch 属性… .319
FindResult.FindRC 属性… . . . .320
FindResult.IntersectionNotFound 属性.. . . .320
FindResult.MatchedFeature 属性. . . .320
FindResult.Matches 属性… . . . .320
FindResult.MultipleMatches 属性.. . .320
FindResult.RefineRegion 属性..321
FindResult.Substitute 属性.. . . .321
Geoset 对象和 Geoset 集合.322
Geoset.Centroid 属性…. . .322
Geoset.PathName 属性… .322
Geoset.UserName 属性….322
Geosets.Count 属性…. . . .322
Geosets.Item 属性.323
Graphic 对象. . . 324
Graphic.Caption 属性… . .324
Graphic.Position 属性… . .324
Graphic.Style 属性…. . . . .324
Graphic.X 属性. . .325
Graphic.Y 属性. . .325
IndividualValueCategory 对象和IndividualValueCategories 集合.. . 326
IndividualValueCategories.AllOthersCategory 属性.326
IndividualValueCategories.Count 属性.. . . .326
IndividualValueCategories.Item 属性.. . . . .326
IndividualValueCategory.NumItems 属性. .327
IndividualValueCategory.Style 属性..327
IndividualValueCategory.Value 属性.. . . . .327
Label 对象和 Labels 集合… . . 328
Label.AnchorX 属性… . . .329
Label.AnchorY 属性… . . .329
Label.Angle 属性..329
Label.Caption 属性… . . . .329
Label.Drawn 属性.329
Label.Edited 属性.329
Label.EditedAnchor 属性.. . . . .330
Label.EditedAngle 属性…330
Label.EditedCaption 属性… . . .330
Label.EditedLineStyle 属性… . .330
Label.EditedLineType 属性… . .330
Label.EditedMultiSegment 属性.. . . .331
Label.EditedOffset 属性…331
Label.EditedPosition 属性… . . .331
目 录
MapInfo MapX 5.0 开发人员指南13
Label.EditedTextStyle 属性… . 331
Label.EditedVisibile 属性.. . . . 332
Label.FeatureKey. 332
Label.Layer 属性. 332
Label.LineType 属性…. . 332
Label.MultiSegment 属性.. . . . 332
Label.Offset 属性….333
Label.Position 属性… . . . 333
Label.Selected 属性…. . . 333
Label.Style 属性.. 333
Labels.Count 属性…333
Labels.Item 属性. 334
LabelProperties 对象… . 335
LabelProperties.DataField 属性.. . . . 335
LabelProperties.Dataset 属性… 336
LabelProperties.Duplicate 属性.. . . . 336
LabelProperties.LabelAlong 属性. . . 336
LabelProperties.LabelMax 属性. . . . 336
LabelProperties.LabelPartialObjects 属性.. 337
LabelProperties.LabelZoom 属性. . . 337
LabelProperties.LabelZoomMax 属性.. . . . 337
LabelProperties.LabelZoomMin 属性.. . . . 337
LabelProperties.LineType 属性.. . . . 338
LabelProperties.Offset 属性… . 338
LabelProperties.Overlap 属性.. 338
LabelProperties.Parallel 属性… 338
LabelProperties.PartialSegments 属性.. . . . 339
LabelProperties.Position 属性.. 339
LabelProperties.Style 属性… . . 339
LabelProperties.Visible 属性… 339
Layer 对象和 Layers 集合.. . 340
Layer.AddFeature 方法… 342
Layer.AllFeatures 方法… 343
Layer.AutoLabel 属性… . 343
Layer.BeginAccess 方法..344
Layer.Bounds 属性…. . . . 344
Layer.CreateAllFeaturesConstraint 方法.. . 344
Layer.CreateBoundsConstraint 方法.345
Layer.CreateFeaturesConstraint 方法345
Layer.ClippedBounds 属性.. . . 346
Layer.CoordSys 属性…. . 346
Layer.ClearCustomLabels 方法.. . . . 347
Layer.DeleteFeature 方法.. . . . 347
Layer.DrawLabelsAfter 属性… 348
Layer.DrilldownAddFeatures 方法. . 348
Layer.DrilldownRemoveFeatures 方法.. . . 349
目 录
14 MapInfo MapX 5.0 开发人员指南
Layer.DrilldownReset 方法… . .349
Layer.Editable 属性…. . . .350
Layer.FeatureIDFromFeatureName 方法. . .350
Layer.FeatureKeyFromFeatureName 方法..351
Layer.FileSpec 属性… . . .351
Layer.Find 属性.. .351
Layer.GetDrilldownFeaturesByID 方法. . . .351
Layer.GetFeatureByID 方法.. . .352
Layer.GetFeatureByKey 方法…352
Layer.Invalidate 方法… . .353
Layer.KeyField 属性…. . .353
Layer.Labels 属性.354
Layer.LabelAtPoint 方法… . . . .354
Layer.LabelProperties 属性… . .354
Layer.Name 属性..355
Layer.NoFeatures 方法… .355
Layer.OverrideStyle 属性.. . . . .355
Layer.Pack 方法.. .355
Layer.PredominantFeatureType 属性.356
Layer.Refresh 方法… . . . .357
Layer.Search 方法…. . . . .357
Layer.SearchAtPoint 方法… . . .358
Layer.SearchWithinDistance 方法. . .359
Layer.SearchWithinFeature 方法. . . .359
Layer.SearchWithinRectangle 方法. .360
Layer.Selectable 属性… . .361
Layer.Selection 属性…. . .361
Layer.ShowNodes 属性….361
Layer.ShowCentroids 属性.. . . .361
Layer.ShowLineDirection 属性.. . . . .361
Layer.Style 属性. .362
Layer.SupportsPack 方法.. . . . .362
Layer.Type 属性. .362
Layer.UpdateFeature 方法… . . .363
Layer.Visible 属性…. . . . .364
Layer.ZoomLayer 属性….364
Layer.ZoomMax 属性…. .364
Layer.ZoomMin 属性… . .364
Layers.Add 方法. .365
Layers.AddGeosetLayers 方法..365
Layers.AddServerLayer 方法.. .366
Layers.AddUserDrawLayer 方法. . . .367
Layers.AnimationLayer 属性.. .368
Layers.Bounds 方法…. . . .368
Layers.ClippedBounds 属性.. . .368
Layers.ClearSelection 方法… . .369
目 录
MapInfo MapX 5.0 开发人员指南15
Layers.Count 属性…. . . . 369
Layers.CreateLayer 方法… . . . 369
Layer.InsertionLayer… . . 370
Layers.Item 属性. 370
Layers.LayersDlg 方法… 370
Layers.Move 方法…371
Layers.Remove 方法… . . 372
Layers.RemoveAll 方法…372
LayerInfo 对象. . 373
LayerInfo.Type 属性… . . 377
LayerInfo.AddParameter 属性..377
LayerInfo.Parameter 属性.. . . . 378
Legend 对象. . . 379
Legend.BodyTextStyle 属性.. . 379
Legend.Compact 属性… . 380
Legend.CompactTitle 属性.. . . 380
Legend.CompactTitleStyle 属性. . . . 380
Legend.CurrencyFormat 属性.. 380
Legend.ExportLegend 方法… . 380
Legend.Height 属性…. . . 381
Legend.Left 属性….381
Legend.LegendDlg 方法..381
Legend.LegendTexts 属性… . . 382
Legend.PaperHeight 属性.. . . . 382
Legend.PaperWidth 属性… . . . 382
Legend.PrintLegend 方法.. . . . 383
Legend.ShowCount 属性… . . . 383
Legend.ShowEmptyRanges 属性.. . . 383
Legend.SubTitle 属性… . 383
Legend.SubTitleStyle 属性.. . . 384
Legend.Title 属性….384
Legend.TitleStyle 属性… 384
Legend.Top 属性. 384
Legend.Visible 属性…. . . 384
Legend.Width 属性… . . . 385
LegendText 对象和 LegendTexts 收集. . 386
LegendTexts.AllOthersText 属性. . . 386
LegendText.Text 属性…. 386
LegendText.Visible 属性… . . . 387
LegendText.AutoGenerate 属性. . . . 387
LegendTexts.Count 属性… . . . 387
LegendTexts.Item 属性… 387
Map 对象.. . 388
Map.AboutBox 方法… . . 390
Map.Annotations 属性…. 390
目 录
16 MapInfo MapX 5.0 开发人员指南
Map.AreaUnit 属性…. . . .390
Map.AutoRedraw 属性… .390
Map.BackColor 属性…. . .391
Map.Bounds 属性.391
Map.CenterX 属性…. . . . .391
Map.CenterY 属性…. . . . .391
Map.ClipLine 方法… . . . .392
Map.CliplineV 方法…. . . .393
Map.ConvertCoord 方法… . . . .393
Map.ConvertCoordP 方法… . . .394
Map.ConvertCoordV 方法… . . .394
Map.CreateCustomTool 方法.. .395
Map.CurrentTool 属性…. .396
Map.Dataset 属性.396
Map.DatasetGeoField 属性… . .397
Map.Datasets 属性…. . . . .397
Map.DatasetTheme 属性… . . . .397
Map.DefaultConversionResolution 属性.. . .398
Map.DefaultStyle 属性… .399
Map.DisplayCoordSys 属性.. . .399
Map.Distance 方法… . . . .399
Map.DynamicSelectionSupport 属性.400
Map.EditableLabels 属性.. . . . .400
Map.ExportMap 方法… . .401
Map.ExportSelection 属性… . . .402
Map.FeatureEditMode 属性.. . .402
Map.FeatureFactory 属性.. . . . .402
Map.GeoDictionary 属性… . . . .402
Map.GeoSet 属性..403
Map.GeoSets 属性…. . . . .404
Map.GeoSetWidth 属性….404
Map.hWnd 属性.. .404
Map.InfotipSupport 属性… . . . .404
Map.InfotipPopupDelay 属性.. .405
Map.IsPointVisible 方法… . . . .405
Map.Layers 属性..405
Map.MapUnit 属性… . . . .405
Map.MapPaperHeight 属性… . .406
Map.MapPaperWidth 属性.. . . .406
Map.MapScreenHeight 属性… .406
Map.MapScreenWidth 属性.. . .406
Map.MatchNumericFields 属性. . . . .406
Map.MatchThreshold 属性.. . . .406
Map.MaxSearchTime 属性.. . . .407
Map.MilitraryGridReferenceFromPoint 方法…407
Map.MilitaryGridReferenceToPointV 方法.408
目 录
MapInfo MapX 5.0 开发人员指南17
Map.MilitaryGridReferenceToPoint 方法.. 409
Map.MouseIcon 属性… . 410
Map.MousePointer 属性..411
Map.MouseWheelSupport 属性.. . . . 411
Map.NumericCoordSys 属性… 411
Map.Pan 方法.. . . 411
Map.PanAnimationLayer 属性.412
Map.PaperUnit 属性… . . 412
Map.PreferCompactLegends 属性.. . 412
Map.PrintMap 方法… . . . 412
Map.PropertyPage 方法…413
Map.RedrawInterval 属性.. . . . 413
Map.Refresh 方法…414
Map.ReuseEquivalentOnRestore 属性.. . . . 414
Map.Rotation 属性…. . . . 415
Map.SaveMapAsGeoset 方法.. 415
Map.SearchPath 属性…. . 416
Map.SelectionStyle 属性..416
Map.SetSize 方法….416
Map.SnapTolerance 属性.. . . . 417
Map.SnapToNodeSupport 属性.. . . . 417
Map.Title 属性.. . 418
Map.TitleText 属性… . . . 418
Map.Version 属性…418
Map.WaitCursorEnabled 属性..418
Map.Zoom 属性.. 419
Map.ZoomTo 方法…. . . . 419
MultivarCategory 对象和 MultivarCategories 集合.420
MultivarCategories.Count 属性.. . . . 420
MultivarCategories.Item 属性.. 420
MultivarCategory.Style 属性… 420
NotesQueryInfo 对象…. . 421
NotesQueryInfo.BeginDate 属性(NotesQueryInfo 对象). 421
NotesQueryInfo.Database 属性(NotesQueryInfo 对象). . 421
NotesQueryInfo.DefaultNumericValue 属性(NotesQueryInfo 对象) . . . 421
NotesQueryInfo.DefaultStringValue 属性(NotesQueryInfo 对象). 422
NotesQueryInfo.EndDate 属性(NotesQueryInfo 对象).. . 422
NotesQueryInfo.FullTextSearch 属性(NotesQueryInfo 对象) . 422
NotesQueryInfo.MaxNumDocs 属性(NotesQueryInfo 对象) . . 422
NotesQueryInfo.Query 属性(NotesQueryInfo 对象).. . . . 422
NotesQueryInfo.Server 属性(NotesQueryInfo 对象).. . . . 423
NotesViewInfo 对象… . . 424
NotesViewInfo.Database 属性(NotesViewInfo 对象).. . . 424
NotesViewInfo.Server (NotesViewInfo 对象). . . 424
NotesViewInfo.View (NotesViewInfo 对象). . . . 424
目 录
18 MapInfo MapX 5.0 开发人员指南
OCIQueryInfo 对象…. . . 425
OCIQueryInfo.ConnectString 属性(OCIQueryInfo 对象).425
OCIQueryInfo.Query 属性(OCIQueryInfo 对象).425
ODBCQueryInfo 对象… 426
ODBCQueryInfo.ConnectString 属性(ODBCQueryInfo 对象) .426
ODBCQueryInfo.DataSource 属性(ODBCQueryInfo 对象) . . .426
ODBCQueryInfo.SqlQuery 属性(ODBCQueryInfo 对象).426
Parts 集合.427
Parts.Add 方法.. . .427
Parts.Count 属性. .427
Parts.Item 属性. . .427
Parts.Remove 方法… . . . .428
Parts.RemoveAll 方法…. .428
Point 对象和 Points 集合.. . . 429
Point.Offset 方法..429
Point.Set 方法. . . .430
Point.X 属性. . . . .430
Point.Y 属性. . . . .430
Points.Add 方法.. .430
Points.Count 属性.431
Points.Item 属性. .431
Points.GetXY 方法… . . . .431
Points.GetXYV 方法…. . .432
Points.X 方法.. . . .432
Points.Y 方法.. . . .433
Points.Remove 方法… . . .433
Points.RemoveAll 方法….433
RangeCategory 对象和 RangeCategories 集合. . . . 434
RangeCategories.AllOthersCategory 属性. .434
RangeCategories.Count 属性… .434
RangeCategories.Item 属性… . .434
RangeCategory.Max 属性… . . .435
RangeCategory.Min 属性.. . . . .435
RangeCategory.NumItems 属性. . . . .435
RangeCategory.Style 属性… . . .436
Rectangle 对象. 437
Rectangle.Height 属性…. .437
Rectangle.Offset 方法… . .437
Rectangle.Set 方法…. . . . .438
Rectangle.Width 属性… . .438
Rectangle.XMax 属性…. .438
Rectangle.XMin 属性… . .438
Rectangle.YMax 属性…. .438
Rectangle.YMin 属性… . .439
ResolveObject 对象和 ResolveObjects 集合.. 440
目 录
MapInfo MapX 5.0 开发人员指南19
ResolveObject.TableName 属性. . . . 440
ResolveObject.SourceMatch 属性.. . 440
ResolveObject.TableMatch 属性.. . . 440
ResolveObjects.Count 属性… . 440
ResolveObjects.Item 属性.. . . . 441
RowValue 对象和 RowValues 集合.442
RowValue.ReadOnly 属性… . . 442
RowValue.Dataset 属性…442
RowValue.Field 属性…. . 443
RowValue.Value 属性…. 443
RowValues.Count 属性… 443
RowValues.ReadOnly 属性… . 443
RowValues.Item 属性(..443
RowValues.Remove 方法.. . . . 444
RowValues.Add 方法…. . 444
RowValues.RemoveAll 方法… 444
RowValues.Clone 方法… 445
Selection 集合. . 446
Selection.Count 属性…. . 446
Selection.Item 属性… . . . 447
Selection.Add 方法… . . . 447
Selection.ClearSelection 方法.. 447
Selection.Clone 方法… . . 448
Selection.Common 方法..448
Selection.Remove 方法… 448
Selection.Replace 方法… 449
Selection.SelectAll 方法..449
Selection.SelectByID 方法… . . 449
Selection.SelectByPoint 方法.. 450
Selection.SelectByRadius 方法.451
Selection.SelectByRectangle 方法.. . 451
Selection.SelectByRegion 方法.. . . . 452
SourceRow 对象和 SourceRows 集合. . . 454
SourceRow.Row 属性… . 454
SourceRows.Count 属性..454
SourceRows.Item 属性…. 454
State 对象… 456
State.ReadFromFile 方法… . . . 458
State.Reset 方法.. 458
State.Restore 方法…459
State.Save 方法. . 460
State.Stream 属性….461
State.WriteToFile 方法… 462
Style 对象.463
Style.Clone 方法. 464
目 录
20 MapInfo MapX 5.0 开发人员指南
Style.DrawLineSample 方法… .465
Style.DrawRegionSample 方法.. . . . .465
Style.DrawSymbolSample 方法. . . . .465
Style.DrawTextSample 方法… .466
Style.ExportLineSample 方法…466
Style.ExportRegionSample 方法.. . . .467
Style.ExportSymbolSample 方法. . . .467
Style.ExportTextSample 方法…468
Style.LineColor 属性…. . .469
Style.LineInterleaved 属性.. . . .469
Style.LineStyle 属性… . . .469
Style.LineStyleCount 属性.. . . .470
Style.LineSupportsInterleave 属性. . .471
Style.LineWidth 属性… . .471
Style.LineWidthUnit 属性… . . .471
Style.PickLine 方法…. . . .471
Style.PickRegion 方法…. .472
Style.PickSymbol 方法… .472
Style.PickText 方法…. . . .472
Style.RegionBackColor 属性… .472
Style.RegionBorderColor 属性..473
Style.RegionBorderStyle 属性…473
Style.RegionBorderWidth 属性.. . . . .473
Style.RegionBorderWidthUnit 属性. .473
Style.RegionColor 属性….473
Style.RegionPattern 属性… . . . .473
Style.RegionTransparent 属性…474
Style.SupportsBitmapSymbols 属性..474
Style.SymbolBitmapColor 属性. . . . .474
Style.SymbolBitmapName 属性. . . . .475
Style.SymbolBitmapOverrideColor 属性. . .475
Style.SymbolBitmapSize 属性..475
Style.SymbolBitmapTransparent 属性. . . . .476
Style.SymbolCharacter 属性… .476
Style.SymbolFont 属性… .476
Style.SymbolFontBackColor 属性. . .477
Style.SymbolFontColor 属性… .477
Style.SymbolFontHalo 属性.. . .477
Style.SymbolFontOpaque 属性.. . . . .477
Style.SymbolFontRotation 属性. . . . .477
Style.SymbolFontShadow 属性.. . . . .478
Style.MinVectorSymbolCharacter 属性. . . .478
Style.MaxVectorSymbolCharacter 属性.. . .478
Style.SymbolVectorColor 属性.. . . . .478
Style.SymbolVectorSize 属性…478
Style.TextFont 属性…. . . .478
目 录
MapInfo MapX 5.0 开发人员指南21
Style.TextFontAllCaps 属性.. . 479
Style.TextFontBackColor 属性.479
Style.TextFontColor 属性.. . . . 479
Style.TextFontDblSpace 属性.. 479
Style.TextFontHalo 属性… . . . 479
Style.TextFontOpaque 属性… . 479
Style.TextFontShadow 属性.. . 480
Style.TextFontRotation 属性… 480
Style.SymbolType 属性…480
Theme 对象和 Themes 集合.. 481
Theme.AutoRecompute 属性… 481
Theme.ComputeTheme 属性… 482
Theme.DataMax 属性… . 482
Theme.DataMin 属性…. . 482
Theme.Fields 属性…. . . . 483
Theme.Layer 属性…483
Theme.Legend 属性…. . . 483
Theme.Name 属性…. . . . 483
Theme.Properties 属性…. 484
Theme.ThemeDlg 方法… 484
Theme.ThemeProperties 属性.. 484
Theme.Type 属性….485
Theme.Visible 属性…. . . 485
Themes.Add 方法….485
Themes.Count 属性… . . . 486
Themes.Item 属性…486
Themes.Remove 方法… . 487
Themes.RemoveAll 方法… . . . 487
ThemeProperties 对象..488
ThemeProperties.AllowEmptyRanges 属性489
ThemeProperties.DataValue 属性. . . 489
ThemeProperties.DistMethod 属性. . 489
ThemeProperties.DotSize 属性.490
ThemeProperties.Graduated 属性. . . 490
ThemeProperties.Independent 属性.. 490
ThemeProperties.IndividualValueCategories 属性. . 491
ThemeProperties.MultivarCategories 属性. 491
ThemeProperties.NumRanges 属性.. 491
ThemeProperties.RangeCategories 属性.. . 491
ThemeProperties.Size 属性.. . . 492
ThemeProperties.SpreadBy 属性.. . . 492
ThemeProperties.SymbolStyle 属性. 492
ThemeProperties.ValuePerDot 属性. 493
ThemeProperties.Width 属性… 493
ThemeProperties.PieClockwise 属性.493
ThemeProperties.PieStartAngle 属性493
目 录
22 MapInfo MapX 5.0 开发人员指南
ThemeProperties.PieHalfPies 属性.. .493
ThemeProperties.PieGraduated 属性..494
ThemeProperties.BarStacked 属性. . .494
ThemeProperties.BarGraduatedStack 属性..494
ThemeProperties.BarIndependentScale 属性.. .494
ThemeProperties.BarWidth 属性.. . . .495
ThemeProperties.BarFramed 属性. . .495
ThemeProperties.BarFrameStyle. . . .495
ThemeProperties.BorderStyle 属性.. .495
ThemeProperties.ShowNegativeValues 属性.. .496
ThemeProperties.PositiveSymbolStyle 属性… .496
ThemeProperties.NegativeSymbolStyle 属性…496
ThemeProperties.GraduateSizeBy 属性. . . .497
ThemeProperties.DotColor 属性. . . .497
ThemeProperties.RoundRanges 属性.497
ThemeProperties.RoundBy 属性.. . . .497
ThemeProperties.InflectRanges 属性.498
ThemeProperties.InflectionRange 属性.. . . .498
ThemeProperties.InflectionColor 属性. . . . .498
ThemeProperties.ColorMethod 属性..499
ThemeProperties.ApplyAttribute 属性. . . . .499
Title 对象.. 500
Title.Border 属性..500
Title.Caption 属性…. . . . .500
Title.Editable 属性…. . . . .500
Title.Position 属性…. . . . .500
Title.TextStyle 属性…. . . .501
Title.Visible 属性..501
Title.X 属性.. . . . .501
Title.Y 属性.. . . . .501
Variable 对象和 Variables 集合. . . . 502
Variable.Name 属性… . . .502
Variable.Value 属性… . . .503
Variables.Count 属性…. . .503
Variables.Add 方法…. . . .503
Variables.Clone 方法…. . .504
Variables.Item 方法…. . . .504
Variables.Remove 方法….504
Variables.RemoveAll 方法.. . . .505
附录 A: MapX 字段命名规范. . 507
附录 B: 调试器定制数据集支持509
附录 C: 术语词汇表. . 519
目 录
MapInfo MapX 5.0 开发人员指南23
附录 D: 使用 Geodictionary Manager.. 527
附录 E: MapX 事件. . . 535
AddFeatureToolUsed 事件.. . . 536
AnnotationAdded 事件… 537
AnnotationChanged 事件… . . . 537
Data 事件.. . 538
DrawUserLayer 事件… . 539
LabelChanged 事件… . . . 539
MapDraw 事件.. . 540
MapInitialized 事件… . . . 540
MapViewChanged 事件…540
MouseWheel 事件…541
PolyToolUsed 事件… . . . 542
RequestData 事件…542
ResolveDataBind 事件… 543
ResolveDataBindEx 事件.. . . . 543
SelectionChanged 事件… 544
ThemeModifyRequested 事件.544
ToolUsed 事件. 545
附录 F: MapX 错误代码… 547
附录 G: 常数. . . 557
AggregationFunctionConstants.557
AnnotationChangedTypeConstants. . 558
AnnotationTypeConstants.. . . . 558
ApplyAttributeConstants..558
AreaUnitConstants…558
BindLayerTypeConstants… . . . 559
ColorConstants. . . 560
ColorSpreadingMethodConstants.. . . 561
ConversionConstants… . . 562
CoordSysTypeConstants.. . . . 563
CursorConstants. . 564
DataSetTypeConstants… . 565
DistribMethod Constants..566
DotSizeConstants. 566
ExportFormatConstants… 566
FeatureEditModeConstants.. . . 566
FeatureTypeConstants… . 566
FieldTypeConstants… . . . 567
FillPatternConstants… . . . 567
GraduationConstants… . . 567
IntersectionPointConstants.. . . . 568
目 录
24 MapInfo MapX 5.0 开发人员指南
IntersectionTestConstants.. . . . .568
LabelAlongConstants…. . .568
LayerBeginAccessConstants.. . .568
LayerEndAccessConstants… . . .568
LayerInfoTypeConstants…568
LayerPackConstants…. . . .569
LayerSrvLayerOptions…. .569
LayerTypeConstants… . . .569
LineTypeConstants… . . . .569
MapDrawConstants… . . . .569
MapUnitConstants.570
MouseWheelSupportConstants..570
PaperUnitConstants… . . . .570
PenStyleConstants.571
PolyToolFlagConstants… .571
PositionConstants..571
ResolveDataBindConstants.. . . .572
SearchTypeConstants…. . .572
SearchResultTypeConstants… . .572
SelectionTypeConstants….572
SpreadByConstants… . . . .572
StyleUnitConstants…. . . . .573
SymbolTypeConstants… . .573
ThemeTypeConstants…. . .573
ToolConstants. . . .573
ToolFlagConstants.574
ToolTypeConstants… . . . .574
附录 H: 创建表达式. . 575
运算符. . 575
地理运算符..576
数学运算符..576
比较运算符..578
数字比较.578
字符串比较..578
日期比较.579
逻辑比较.579
逻辑运算符..579
字符串子句..580
日期子句.580
关键字. . .580
函数. . . . 582
Acos( ) 函数.. . . . .584
Area( ) 函数.. . . . .585
Atn( ) 函数…587
目 录
MapInfo MapX 5.0 开发人员指南25
Buffer( ) 函数.. . . 588
Centroid( ) 函数.. 588
CentroidY( ) 函数….590
Chr$( ) 函数.. . . . 591
CurDate( ) 函数. . 592
DeformatNumber$( ) 函数… . . 593
Distance( ) 函数.. 593
Exp( ) 函数..594
LCase$( ) 函数.. . 601
Left$( ) 函数.. . . . 602
LTrim$( ) 函数.. . 603
Maximum( ) 函数….604
MBR( ) 函数.. . . . 604
Mid$( ) 函数.. . . . 605
Minimum( ) 函数….605
ObjectLen( ) 函数….607
Perimeter( ) 函数. 608
Proper$( ) 函数.. . 609
Round( ) 函数.. . . 610
RTrim$( ) 函数.. . 611
Sin( ) 函数.. 612
Sqr( ) 函数.. 613
StringCompare( ) 函数…. 614
StringCompareIntl( ) 函数… . . 614
StringToDate( ) 函数… . . 615
Str$( ) 函数..616
Tan( ) 函数..617
Val( ) 函数.. 618
Weekday( ) 函数. 619
附录 I: Geoset 关键字.621
附录 J: 示例 Geoset. . 623
附录 K: 支持的关键字. 627
附录 L: OLE_COLOR 值..631
附录 M: Idispatch 表. 633
附录 N: 管理 MapX 数据..653
附录 O: 数据源. 655
目 录
26 MapInfo MapX 5.0 开发人员指南
附录 P: 使用 Geoset Manager665
索引..675

截图:


发表回复