MapWinGIS:GridColorScheme GetLightSource

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

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

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

This page has been accessed 1,285 times. This page was last modified on 9 November 2005, at 16:39.