Previous Document Next Document

Object Model Reference : Classes : E : EffectExtrude : Properties : EffectExtrude.AngleY


EffectExtrude.AngleY

Property AngleY As Double

Description

Member of EffectExtrude

The AngleY property returns or specifies the y-axis extrusion angle for an extruded object.

This property is a percentage that rotates the extrusion along the y-axis.

VBA example

The following VBA example selects all objects with extrusions that were rotated in three-dimensional space.

Sub Test()
 Dim s As Shape, eff As Effect
 Dim sr As New ShapeRange
 For Each s In ActivePage.Shapes
  For Each eff In s.Effects
   If eff.Type = cdrExtrude Then
    With eff.Extrude
     If .AngleX <> 0 Or .AngleY <> 0 Or .AngleZ <> 0 Then sr.Add s
    End With
    Exit For
   End If
  Next eff
 Next s
 sr.CreateSelection
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.