Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.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 System.Guid _
    ) As Effect
    public static Effect Create( 
       DeviceContext deviceContext,
       System.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