📄 main.frm
字号:
VERSION 5.00
Object = "{E760686B-BC9E-4802-9ECF-175FDF4062CE}#5.0#0"; "MAPX50.DLL"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form Main
Caption = "图层示例程序"
ClientHeight = 4575
ClientLeft = 1140
ClientTop = 1470
ClientWidth = 8520
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 4575
ScaleWidth = 8520
Begin VB.CommandButton Command13
Caption = "保存GeoSet"
Height = 375
Left = 7320
TabIndex = 14
Top = 0
Width = 1095
End
Begin VB.CommandButton Command12
Caption = "打开GeoSet"
Height = 375
Left = 6120
TabIndex = 13
Top = 0
Width = 1095
End
Begin VB.CommandButton Command11
Caption = "图层控制"
Height = 375
Left = 5080
TabIndex = 12
Top = 0
Width = 855
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 4800
Top = 3960
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command10
Caption = "添加图层"
Height = 375
Left = 4230
TabIndex = 11
Top = 0
Width = 855
End
Begin VB.CommandButton Command9
Caption = "属性"
Height = 375
Left = 7800
TabIndex = 10
Top = 4080
Width = 615
End
Begin VB.CommandButton Command8
Caption = "删除"
Height = 375
Left = 7080
TabIndex = 9
Top = 4080
Width = 615
End
Begin VB.CommandButton Command7
Caption = "下移"
Height = 375
Left = 6360
TabIndex = 8
Top = 4080
Width = 615
End
Begin VB.CommandButton Command6
Caption = "上移"
Height = 375
Left = 5640
TabIndex = 7
Top = 4080
Width = 615
End
Begin VB.ListBox List1
Height = 3480
Left = 5640
TabIndex = 6
Top = 480
Width = 2775
End
Begin VB.CommandButton Command5
Caption = "全图"
Height = 375
Left = 3380
TabIndex = 5
Top = 0
Width = 855
End
Begin MapXLib.Map Map1
Height = 3975
Left = 0
TabIndex = 4
Top = 480
Width = 5535
_Version = 500012
_ExtentX = 9763
_ExtentY = 7011
_StockProps = 1
MapCatalog.GeoDictionary= "GeoDictionary"
GeoSet = "Australia"
GeoSetUserName = "Australia"
DefaultStyle.TextFontBackColor= 16777215
DefaultStyle.SupportsBitmapSymbols= -1 'True
DefaultStyle.SymbolChar= 55
DefaultStyle.SymbolFontBackColor= 16777215
BeginProperty DefaultStyle.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty DefaultStyle.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Map Symbols"
Size = 14.25
Charset = 2
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DefaultStyle.LineStyle= 1
DefaultStyle.LineWidth= 1
DefaultStyle.RegionColor= 16777215
DefaultStyle.LinePattern= 2
DefaultStyle.RegionBackColor= 16777215
DefaultStyle.RegionBorderStyle= 1
DefaultStyle.RegionBorderWidth= 1
Title.Visible = -1 'True
Title.Style.TextFontBackColor= 16777215
Title.Style.TextFontOpaque= -1 'True
Title.Style.SymbolChar= 0
BeginProperty Title.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 23.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Title.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 23.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Title.X = 1845
Title.Y = 265
Map.Layers.Count= 6
Map.Layers.Layer0.HasFileSpec= -1 'True
Map.Layers.Layer0.Skip= 0 'False
Map.Layers.Layer0.Path= "austcaps.tab"
Map.Layers.Layer0.Name= "Australia Capitals"
Map.Layers.Layer0.Visible= -1 'True
Map.Layers.Layer0.Selectable= -1 'True
Map.Layers.Layer0.Editable= 0 'False
Map.Layers.Layer0.ShowNodes= 0 'False
Map.Layers.Layer0.ShowCentroids= 0 'False
Map.Layers.Layer0.ShowLineDirection= 0 'False
Map.Layers.Layer0.AutoLabel= -1 'True
Map.Layers.Layer0.DrawLabelsAfter= 0 'False
Map.Layers.Layer0.ZoomLayering= -1 'True
Map.Layers.Layer0.ZoomMin= 750
Map.Layers.Layer0.ZoomMax= 3850.5
Map.Layers.Layer0.DoOverrideStyle= 0 'False
Map.Layers.Layer0.LabelProperties.LabelMax= 100
Map.Layers.Layer0.LabelProperties.Overlap= 0 'False
Map.Layers.Layer0.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer0.LabelProperties.Offset= 2
Map.Layers.Layer0.LabelProperties.LineType= 2
Map.Layers.Layer0.LabelProperties.Zoom= 0 'False
Map.Layers.Layer0.LabelProperties.ZoomMin= 0
Map.Layers.Layer0.LabelProperties.ZoomMax= 10000
Map.Layers.Layer0.LabelProperties.Visible= -1 'True
Map.Layers.Layer0.LabelProperties.Position= 5
Map.Layers.Layer0.LabelProperties.Parallel= -1 'True
Map.Layers.Layer0.LabelProperties.LabelAlong= 1
Map.Layers.Layer0.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer0.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer0.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer0.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer0.LabelProperties.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Map.Layers.Layer0.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer0.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer1.HasFileSpec= -1 'True
Map.Layers.Layer1.Skip= 0 'False
Map.Layers.Layer1.Path= "aucty417.tab"
Map.Layers.Layer1.Name= "Australia Major Cities"
Map.Layers.Layer1.Visible= -1 'True
Map.Layers.Layer1.Selectable= -1 'True
Map.Layers.Layer1.Editable= 0 'False
Map.Layers.Layer1.ShowNodes= 0 'False
Map.Layers.Layer1.ShowCentroids= 0 'False
Map.Layers.Layer1.ShowLineDirection= 0 'False
Map.Layers.Layer1.AutoLabel= -1 'True
Map.Layers.Layer1.DrawLabelsAfter= 0 'False
Map.Layers.Layer1.ZoomLayering= -1 'True
Map.Layers.Layer1.ZoomMin= 300
Map.Layers.Layer1.ZoomMax= 750
Map.Layers.Layer1.DoOverrideStyle= 0 'False
Map.Layers.Layer1.LabelProperties.LabelMax= 100
Map.Layers.Layer1.LabelProperties.Overlap= 0 'False
Map.Layers.Layer1.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer1.LabelProperties.Offset= 2
Map.Layers.Layer1.LabelProperties.LineType= 2
Map.Layers.Layer1.LabelProperties.Zoom= 0 'False
Map.Layers.Layer1.LabelProperties.ZoomMin= 0
Map.Layers.Layer1.LabelProperties.ZoomMax= 10000
Map.Layers.Layer1.LabelProperties.Visible= -1 'True
Map.Layers.Layer1.LabelProperties.Position= 5
Map.Layers.Layer1.LabelProperties.Parallel= -1 'True
Map.Layers.Layer1.LabelProperties.LabelAlong= 1
Map.Layers.Layer1.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer1.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer1.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer1.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer1.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer1.LabelProperties.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Map.Layers.Layer1.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer1.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer2.HasFileSpec= -1 'True
Map.Layers.Layer2.Skip= 0 'False
Map.Layers.Layer2.Path= "aucty_4k.tab"
Map.Layers.Layer2.Name= "Australia Cities"
Map.Layers.Layer2.Visible= -1 'True
Map.Layers.Layer2.Selectable= -1 'True
Map.Layers.Layer2.Editable= 0 'False
Map.Layers.Layer2.ShowNodes= 0 'False
Map.Layers.Layer2.ShowCentroids= 0 'False
Map.Layers.Layer2.ShowLineDirection= 0 'False
Map.Layers.Layer2.AutoLabel= -1 'True
Map.Layers.Layer2.DrawLabelsAfter= 0 'False
Map.Layers.Layer2.ZoomLayering= -1 'True
Map.Layers.Layer2.ZoomMin= 0
Map.Layers.Layer2.ZoomMax= 300
Map.Layers.Layer2.DoOverrideStyle= 0 'False
Map.Layers.Layer2.LabelProperties.LabelMax= 100
Map.Layers.Layer2.LabelProperties.Overlap= 0 'False
Map.Layers.Layer2.LabelProperties.Duplicate= -1 'True
Map.Layers.Layer2.LabelProperties.Offset= 2
Map.Layers.Layer2.LabelProperties.LineType= 2
Map.Layers.Layer2.LabelProperties.Zoom= 0 'False
Map.Layers.Layer2.LabelProperties.ZoomMin= 0
Map.Layers.Layer2.LabelProperties.ZoomMax= 10000
Map.Layers.Layer2.LabelProperties.Visible= -1 'True
Map.Layers.Layer2.LabelProperties.Position= 5
Map.Layers.Layer2.LabelProperties.Parallel= -1 'True
Map.Layers.Layer2.LabelProperties.LabelAlong= 1
Map.Layers.Layer2.LabelProperties.PartialSegments= 0 'False
Map.Layers.Layer2.LabelProperties.Style.TextFontBackColor= 13696976
Map.Layers.Layer2.LabelProperties.Style.TextFontHalo= -1 'True
Map.Layers.Layer2.LabelProperties.Style.SymbolChar= 0
BeginProperty Map.Layers.Layer2.LabelProperties.Style.TextFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Map.Layers.Layer2.LabelProperties.Style.SymbolFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Map.Layers.Layer2.LabelProperties.Style.LineStyle= 1
Map.Layers.Layer2.LabelProperties.Style.LineWidth= 1
Map.Layers.Layer3.HasFileSpec= -1 'True
Map.Layers.Layer3.Skip= 0 'False
Map.Layers.Layer3.Path= "aushiway.tab"
Map.Layers.Layer3.Name= "Australia Highways"
Map.Layers.Layer3.Visible= -1 'True
Map.Layers.Layer3.Selectable= -1 'True
Map.Layers.Layer3.Editable= 0 'False
Map.Layers.Layer3.ShowNodes= 0 'False
Map.Layers.Layer3.ShowCentroids= 0 'False
Map.Layers.Layer3.ShowLineDirection= 0 'False
Map.Layers.Layer3.AutoLabel= 0 'False
Map.Layers.Layer3.DrawLabelsAfter= 0 'False
Map.Layers.Layer3.ZoomLayering= -1 'True
Map.Layers.Layer3.ZoomMin= 0
Map.Layers.Layer3.ZoomMax= 2500
Map.Layers.Layer3.DoOverrideStyle= 0 'False
Map.Layers.Layer3.LabelProperties.LabelMax= 100
Map.Layers.Layer3.LabelProperties.Overlap= 0 'False
Map.Layers.Layer3.LabelProperties.Duplicate= 0 'False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -