Partager via


ThreeDFormat.SetExtrusionDirection Method

Sets the direction that the extrusion's sweep path takes away from the extruded shape.

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

Syntax

'Declaration
Sub SetExtrusionDirection ( _
    PresetExtrusionDirection As MsoPresetExtrusionDirection _
)
'Usage
Dim instance As ThreeDFormat
Dim PresetExtrusionDirection As MsoPresetExtrusionDirection

instance.SetExtrusionDirection(PresetExtrusionDirection)
void SetExtrusionDirection(
    MsoPresetExtrusionDirection PresetExtrusionDirection
)

Parameters

Remarks

This method sets the PresetExtrusionDirection property to the direction specified by the PresetExtrusionDirection argument.

The PresetExtrusionDirection parameter value can be one of these MsoPresetExtrusionDirection constants.

msoExtrusionBottom

msoExtrusionBottomLeft

msoExtrusionBottomRight

msoExtrusionLeft

msoExtrusionNone

msoExtrusionRight

msoExtrusionTop

msoExtrusionTopLeft

msoExtrusionTopRight

msoPresetExtrusionDirectionMixed

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.PowerPoint Namespace