Share via


ThreeDFormat.PresetLightingDirection Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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: MsoPresetLightingDirection

Remarks

MsoPresetLightingDirection can be one of these MsoPresetLightingDirection constants:

msoLightingBottom

msoLightingBottomLeft

msoLightingBottomRight

msoLightingLeft

msoLightingNone

msoLightingRight

msoLightingTop

msoLightingTopLeft

msoLightingTopRight

msoPresetLightingDirectionMixed

The lighting effects you set won't be apparent if the extrusion has a wire frame surface.

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.Word Namespace