MapWinGIS:AxMap BackColor

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:AxMap_BackColor"

This page has been accessed 1,478 times. This page was last modified on 9 November 2005, at 18:55.