Share via


ThreeDFormat.PresetLightingSoftness Property

Excel Developer Reference

Returns or sets the intensity of the extrusion lighting. Read/write MsoPresetLightingSoftness.

Syntax

expression.PresetLightingSoftness

expression   A variable that represents a ThreeDFormat object.

Remarks

MsoPresetLightingSoftness can be one of these MsoPresetLightingSoftness constants.
msoLightingBright
msoLightingDim
msoLightingNormal
msoPresetLightingSoftnessMixed

Example

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

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

See Also