Partager via


ThreeDFormat.PresetLightingDirection Property

Returns or sets the position of the light source relative to the extrusion. Read/write.

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

Syntax

'Declaration
Property PresetLightingDirection As MsoPresetLightingDirection
    Get
    Set
'Usage
Dim instance As ThreeDFormat
Dim value As MsoPresetLightingDirection

value = instance.PresetLightingDirection

instance.PresetLightingDirection = value
MsoPresetLightingDirection PresetLightingDirection { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoPresetLightingDirection

Remarks

The value of the PresetLightingDirection property can be one of these MsoPresetLightingDirection constants.

msoLightingBottom

msoLightingBottomLeft

msoLightingBottomRight

msoLightingLeft

msoLightingNone

msoLightingRight

msoLightingTop

msoLightingTopLeft

msoLightingTopRight

msoPresetLightingDirectionMixed

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.PowerPoint Namespace