Class FilterEffect (PowerPoint VBA)

The class FilterEffect represents a filter effect for an animation behavior. To use a FilterEffect class variable it first needs to be instantiated, for example


Dim fet as FilterEffect
Set fet = ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors(1).FilterEffect

Reveal

Determines how the embedded objects will be revealed.

Setting a value of msoTrue for the Reveal property when the filter effect type is msoAnimFilterEffectTypeWipe will make the shape appear. Setting a value of msoFalse will make the object disappear. In other words, if your filter is set to wipe and Reveal is true, you will get a wipe-in effect, and when Reveal is false, you will get a wipe-out effect. The value of the Reveal property can be one of these MsoTriState constants.


ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Behaviors(1).FilterEffect.Reveal = msoTrue

Subtype

Sets or returns the subtype of the filter effect. Here you can find possible values for MsoAnimFilterEffectSubtype.


ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Behaviors(1).FilterEffect.Subtype = msoAnimFilterEffectSubtypeAcross

Type

Represents the type of animation. Here you can find possible values for MsoAnimFilterEffectType.

The value of the Type property can be one of these MsoAnimType constants.


ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors(1).FilterEffect.Type = msoAnimFilterEffectTypeBarn