MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWinGIS:ShapefileColorBreak StartColor

From MapWindow GIS

Jump to: navigation, search

StartColor

Gets or sets the start color or the shapefile color break.


VB.NET Usage

Property StartColor() As System.UInt32

            Parameters

ReturnValue

The start color for the shapefile color break. This is a UInt32 representation of an RGB value.

Sample Code

    Private Sub ShapefileColorBreakStartColor()
        Dim colorbreak As New MapWinGIS.ShapefileColorBreak()
        Dim color As System.UInt32
        'Set the color for the start color
        color = System.Convert.ToUInt32(RGB(0, 0, 255))
        'Set the start color to blue for the shapefile color break
        colorbreak.StartColor = color
        'Get the start color for the shapefile color break
        color = colorbreak.StartColor
    End Sub
  

VB 6 Usage
Property StartColor() As OLE_COLOR
            Parameters

ReturnValue

The start color for the shapefile color break.

Sample Code

    Private Sub ShapefileColorBreakStartColor()
        Dim colorbreak As New MapWinGIS.ShapefileColorBreak
        Dim color As OLE_COLOR
        'Set the color for the start color
        color = RGB(0, 0, 255)
        'Set the start color to blue for the shapefile color break
        colorbreak.StartColor = color
        'Get the start color for the shapefile color break
        color = colorbreak.StartColor
    End Sub

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWinGIS:ShapefileColorBreak_StartColor"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links