MapWinGIS:AxMap BackColor
From MapWindow GIS
BackColor
Gets or sets the background color of the map. (When using VB.NET the color is represented as a System.Drawing.Color. When using VB 6 the color can be an OLE_COLOR or an integer representation of an RGB value.)
VB.NET Usage
Property BackColor() As System.Drawing.Color
Parameters
|
ReturnValue | The back color of the map returned as a System.Drawing.Color object. |
Sample Code
Private Sub myBackColor()
Dim col As System.Drawing.Color
'Get the backcolor of the map
col = Map1.BackColor
'Set the backcolor of the map
Map1.BackColor = System.Drawing.Color.Beige
End Sub
VB 6 Usage
Property BackColor() As OLE_COLOR
Parameters
|
ReturnValue | The back color of the map as an OLE_COLOR. |
Sample Code
Private Sub myBackColor()
Dim col As OLE_COLOR
'Get the backcolor of the map
col = Map1.BackColor
'Set the backcolor of the map
Map1.BackColor = RGB(255, 0, 0)
End Sub
















