DioDocs for PDF
RegisterAndCreateCustom<T> メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > Effect クラス : RegisterAndCreateCustom<T> メソッド
The factory to register the effect.
The device context.
Registers, if necessary, and initializes a new instance of a custom Effect class.
シンタックス
'宣言
 
Public Shared Function RegisterAndCreateCustom(Of T As {New, ICustomEffect})( _
   ByVal factory As Factory1, _
   ByVal deviceContext As DeviceContext _
) As Effect
public static Effect RegisterAndCreateCustom<T>( 
   Factory1 factory,
   DeviceContext deviceContext
)
where T: new(), ICustomEffect

パラメータ

factory
The factory to register the effect.
deviceContext
The device context.

型パラメータ

T
参照

Effect クラス
Effect メンバ