BitmapEffect::CreateBitmapEffectOuter Method ()

 
obsoleteCodeEntityT:System.Windows.Media.Effects.EffectNote: This API is now obsolete.

Creates a handle to an IMILBitmapEffect object that is used to initialize a custom effect.

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

protected:
[SecurityTreatAsSafeAttribute]
[SecurityCriticalAttribute]
[ObsoleteAttribute("BitmapEffects are deprecated and no longer function.  Consider using Effects where appropriate instead.")]
static SafeHandle^ CreateBitmapEffectOuter()

Return Value

Type: System.Runtime.InteropServices::SafeHandle^

A handle to an IMILBitmapEffect object.

Framework interaction with custom effects is handled through an IMILBitmapEffect object. The outer effect is initialized with the custom effect through the InitializeBitmapEffect method.

The following example shows an implementation of CreateUnmanagedEffect that uses the CreateBitmapEffectOuter method to retrieve a wrapper effect object.

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

.NET Framework
Available since 3.0
Return to top
Show: