ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct2D Namespace / Effect Class / Create Method / Create(DeviceContext,Guid) Method
The device context.

The class ID of the effect to create.


In This Topic
    Create(DeviceContext,Guid) Method
    In This Topic
    Initializes a new instance of the Effect class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal deviceContext As DeviceContext, _
       ByVal effectId As Guid _
    ) As Effect
    public static Effect Create( 
       DeviceContext deviceContext,
       Guid effectId
    )

    Parameters

    deviceContext
    The device context.
    effectId

    The class ID of the effect to create.

    Remarks
    The created effect does not increment the reference count for the dynamic-link library (DLL) from which the effect was created. If the application deletes an effect while that effect is loaded, the resulting behavior will be unpredictable.
    See Also