DrawingContext::PushEffect Method (BitmapEffect^, BitmapEffectInput^)

 
Note: This API is now obsolete.

Pushes the specified BitmapEffect onto the drawing context.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public:
[ObsoleteAttribute("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
virtual void PushEffect(
	BitmapEffect^ effect,
	BitmapEffectInput^ effectInput
) abstract

Parameters

effect
Type: System.Windows.Media.Effects::BitmapEffect^

The effect to apply to subsequent drawings.

effectInput
Type: System.Windows.Media.Effects::BitmapEffectInput^

The area to which the effect is applied, or null if the effect is to be applied to the entire area of subsequent drawings.

The effect is applied to all subsequent drawing operations until it is removed by the Pop command.

The following example demonstrates the PushOpacity, PushEffect, and Pop commands.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: