PresetLightingSoftness Property

Applies To

ThreeDFormat object.

Description

Returns or sets the intensity of the extrusion lighting. Can be one of the following MsoPresetLightingSoftness constants: msoLightingBright, msoLightingDim, msoLightingNormal, or msoPresetLightingSoftnessMixed. Read/write Long.

Example

This example specifies that the extrusion for shape one on myDocument be lit brightly from the left.

Set myDocument = Worksheets(1)
With myDocument.Shapes(1).ThreeD
    .Visible = True
    .PresetLightingSoftness = msoLightingBright
    .PresetLightingDirection = msoLightingLeft
End With