Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
LightDirection property 
 
Type
long for Visual C++ 
enumLightDirections for Visual Basic
 
 
Syntax
object.LightDirection   [=enumLightDirections]
 
 
Remarks
The direction from which the light impacts the control. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
LIGHT_DIR_NW
0 (default)
Light coming from North-West: this is the standard default for the Windows operating system. 
LIGHT_DIR_NORTH
1
Light coming from North 
LIGHT_DIR_NE
2
Light coming from North-East 
LIGHT_DIR_EAST
3
Light coming from East 
LIGHT_DIR_SE
4
Light coming from South-East 
LIGHT_DIR_SOUTH
5
Light coming from South 
LIGHT_DIR_SW
6
Light coming from South-West 
LIGHT_DIR_WEST
7
Light coming from West 
LIGHT_DIR_ABOVE
8
Light coming from above 
 
For further information about surface lighting, see the How to manage surface lighting section.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index