MsoPresetLightingDirection enumeration (Office)

Specifies the location of lighting on an extruded (three-dimensional) shape relative to the shape.

Name Value Description
msoLightingBottom 8 Lighting comes from the lower part.
msoLightingBottomLeft 7 Lighting comes from the lower-left.
msoLightingBottomRight 9 Lighting comes from the lower-right.
msoLightingLeft 4 Lighting comes from the left.
msoLightingNone 5 No lighting.
msoLightingRight 6 Lighting comes from the right.
msoLightingTop 2 Lighting comes from the upper part.
msoLightingTopLeft 1 Lighting comes from the upper-left.
msoLightingTopRight 3 Lighting comes from the upper-right.
msoPresetLightingDirectionMixed -2 Not supported.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.