ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / Effect Class / CreateCustom Method / CreateCustom<T>(DeviceContext) Method
The device context.

In This Topic
    CreateCustom<T>(DeviceContext) Method
    In This Topic
    Initializes a new instance of a custom Effect class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCustom(Of T As CustomEffect)( _
       ByVal deviceContext As DeviceContext _
    ) As Effect
    public static Effect CreateCustom<T>( 
       DeviceContext deviceContext
    )
    where T: CustomEffect

    Parameters

    deviceContext
    The device context.

    Type Parameters

    T
    See Also