Share via


ThreeDFormat.PresetLightingSoftness Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property PresetLightingSoftness As MsoPresetLightingSoftness
    Get
    Set
'Usage
Dim instance As ThreeDFormat
Dim value As MsoPresetLightingSoftness

value = instance.PresetLightingSoftness

instance.PresetLightingSoftness = value
MsoPresetLightingSoftness PresetLightingSoftness { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoPresetLightingSoftness
MsoPresetLightingSoftness

Remarks

The value of the PresetLightingSoftness property can be one of these MsoPresetLightingSoftness constants.

msoLightingBright

msoLightingDim

msoLightingNormal

msoPresetLightingSoftnessMixed

Examples

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

Set myDocument = ActivePresentation.Slides(1)

With myDocument.Shapes(1).ThreeD

    .Visible = True

    .PresetLightingSoftness= msoLightingBright

    .PresetLightingDirection = msoLightingLeft

End With

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.PowerPoint Namespace