Skip to content

Latest commit

 

History

History
80 lines (48 loc) · 1.84 KB

PowerPoint.ThreeDFormat.PresetExtrusionDirection.md

File metadata and controls

80 lines (48 loc) · 1.84 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ThreeDFormat.PresetExtrusionDirection property (PowerPoint)
vbapp10.chm557011
vbapp10.chm557011
PowerPoint.ThreeDFormat.PresetExtrusionDirection
9bc0ba5b-c091-c385-3ef2-46994ed81347
06/08/2017
medium

ThreeDFormat.PresetExtrusionDirection property (PowerPoint)

Returns the direction that the extrusion's sweep path takes away from the extruded shape (the front face of the extrusion). Read-only.

Syntax

expression. PresetExtrusionDirection

expression A variable that represents a ThreeDFormat object.

Return value

MsoPresetExtrusionDirection

Remarks

This property is read-only. To set the value of this property, use the SetExtrusionDirection method.

The value of the PresetExtrusionDirection property can be one of these MsoPresetExtrusionDirection constants.

msoExtrusionBottom
msoExtrusionBottomLeft
msoExtrusionBottomRight
msoExtrusionLeft
msoExtrusionNone
msoExtrusionRight
msoExtrusionTop
msoExtrusionTopLeft
msoExtrusionTopRight
msoPresetExtrusionDirectionMixed

Example

This example changes each extrusion on myDocument that extends toward the upper-left corner of the extrusion's front face to an extrusion that extends toward the lower-right corner of the front face.

Set myDocument = ActivePresentation.Slides(1)

For Each s In myDocument.Shapes

    With s.ThreeD

        If .PresetExtrusionDirection = msoExtrusionTopLeft Then

            .SetExtrusionDirection msoExtrusionBottomRight

        End If

    End With

Next

See also

ThreeDFormat Object

[!includeSupport and feedback]