MapWinGIS:ShapefileColorBreak StartColor
From MapWindow GIS
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
















