MapWinGIS:GridColorScheme GetLightSource
From MapWindow GIS
GetLightSource
Gets the direction the light source is pointing for the color scheme in the form of a vector which originates from the light source. This only applies to hillshaded breaks.
See also Vector
VB.NET Usage
Function GetLightSource() As MapWinGIS.Vector
Parameters
|
ReturnValue | The direction the light source is pointing represented by a vector. |
Sample Code
Private Sub GetLightSource()
Dim scheme As MapWinGIS.GridColorScheme
Dim vector As MapWinGIS.Vector
'Get the vector representing the direction from the light source
vector = scheme.GetLightSource
End Sub
VB 6 Usage
Function GetLightSource() As Vector
Parameters
|
ReturnValue | The direction the light source is pointing represented by a vector. |
Sample Code
Private Sub GetLightSource()
Dim scheme As MapWinGIS.GridColorScheme
Dim vector As MapWinGIS.vector
'Get the vector representing the direction from the light source
vector = scheme.GetLightSource
End Sub
















