📄 自动标注.txt
字号:
Dim layer As New MapInfo.Mapping.LabelLayer
Dim map As Map = MapInfo.Engine.Session.Current.MapFactory(MapControl1.MapAlias)
Dim source As New MapInfo.Mapping.LabelSource(MapInfo.Engine.Session.Current.Catalog.GetTable("Citys"))
source.DefaultLabelProperties.Caption = "Name" '标注用到的那个字段名称
layer.Sources.Append(source)
map.Layers.Add(layer)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -