---
title: "AviCustomTransition..::.DrawTransition Event"
canonical: https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Codecs_AviCustomTransition_DrawTransition.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.DrawTransition Event
 
Fires each time when next frame for transition effect should be generated.
 
**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 Event DrawTransition As AviDrawTransitionEventHandler
```
 
```csharp
public event AviDrawTransitionEventHandler DrawTransition
```
 
## Remarks
  
One way to provide your custom transition effect is to handle this event. Alternative way is to inherit from this class and override the [OnDrawTransition(Bitmap, Bitmap, Bitmap, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_AviCustomTransition_OnDrawTransition_5_77f8c163.htm.md) method (which has the same arguments as this event).
   
## See Also

### Reference

- [AviCustomTransition Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCustomTransition.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
