BitmapEffect::InitializeBitmapEffect Method (SafeHandle^, SafeHandle^)
.NET Framework (current version)
Note: This API is now obsolete.Namespace:
System.Windows.Media.Effects
Assembly: PresentationCore (in PresentationCore.dll)
Return to top
Initializes an IMILBitmapEffect handle obtained from CreateBitmapEffectOuter with the given IMILBitmapEffectPrimitive.
Assembly: PresentationCore (in PresentationCore.dll)
protected: [SecurityCriticalAttribute] [SecurityTreatAsSafeAttribute] [ObsoleteAttribute("BitmapEffects are deprecated and no longer function. Consider using Effects where appropriate instead.")] static void InitializeBitmapEffect( SafeHandle^ outerObject, SafeHandle^ innerObject )
Parameters
- outerObject
-
Type:
System.Runtime.InteropServices::SafeHandle^
The outer IMILBitmapEffect wrapper to initialize.
- innerObject
-
Type:
System.Runtime.InteropServices::SafeHandle^
The inner IMILBitmapEffectPrimitive.
The following example shows an implementation of CreateUnmanagedEffect that uses the InitializeBitmapEffect method to initialize the wrapper object with the custom effect.
.NET Framework
Available since 3.0
Available since 3.0
Show: