---
title: "AviCustomTransition Constructor (AviDrawTransitionEventHandler)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_AviCustomTransition_ctor_1_749dfdb4.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# AviCustomTransition Constructor (AviDrawTransitionEventHandler)
 
Creates and initializes new [AviCustomTransition](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCustomTransition.htm.md) class instance.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
 
## Syntax
  
```
Public Sub New ( _drawTransitionHandler As AviDrawTransitionEventHandler _
)
```
 
```csharp
public AviCustomTransition(AviDrawTransitionEventHandler drawTransitionHandler
)
```
 
### Parameters
 
 - drawTransitionHandler
     - Type: [Aurigma.GraphicsMill.Codecs.AviDrawTransitionEventHandler](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviDrawTransitionEventHandler.htm.md)
 [DrawTransition](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Codecs_AviCustomTransition_DrawTransition.htm.md) event handler.
   
## See Also

### Reference

- [AviCustomTransition Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCustomTransition.htm.md)
- [AviCustomTransition Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_AviCustomTransition_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
