[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Factory1.RegisterEffect

RegisterEffect Method

RegisterEffect<T>(Func<T>)

Register a ICustomEffect factory.

Declaration
public CustomEffectFactory RegisterEffect<T>(Func<T> effectFactory) where T : ICustomEffect
Parameters
Type Name Description
Func<T> effectFactory
Returns
Type Description
CustomEffectFactory
Type Parameters
Name Description
T

RegisterEffect<T>(Func<T>, Guid)

Register a ICustomEffect factory.

Declaration
public CustomEffectFactory RegisterEffect<T>(Func<T> effectFactory, Guid effectId) where T : ICustomEffect
Parameters
Type Name Description
Func<T> effectFactory
Guid effectId
Returns
Type Description
CustomEffectFactory
Type Parameters
Name Description
T

RegisterEffect<T>(out bool)

Register a ICustomEffect.

Declaration
public CustomEffectFactory RegisterEffect<T>(out bool wasActuallyRegistered) where T : ICustomEffect, new()
Parameters
Type Name Description
bool wasActuallyRegistered
Returns
Type Description
CustomEffectFactory
Type Parameters
Name Description
T

RegisterEffect<T>(Guid, out bool)

Register a ICustomEffect.

Declaration
public CustomEffectFactory RegisterEffect<T>(Guid effectId, out bool wasActuallyRegistered) where T : ICustomEffect, new()
Parameters
Type Name Description
Guid effectId
bool wasActuallyRegistered
Returns
Type Description
CustomEffectFactory
Type Parameters
Name Description
T