---
title: "AviCustomTransition Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviCustomTransition.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 Class
 
This class represents the custom transition effect.
 
**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 Class AviCustomTransition _Inherits AviTransition
```
 
```csharp
public class AviCustomTransition : AviTransition
```
 
## Remarks
  
You can implement your custom transitions in two ways.
 
1. Provide [DrawTransition](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_Codecs_AviCustomTransition_DrawTransition.htm.md) event handler.
2. Inherit 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.

You can read about it more detailed in the [Creating Transition Effect](https://www.graphicsmill.com/docs/gm5/CreatingTransitionEffects.htm.md) topic of AVI Processor Addon manual.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - [Aurigma.GraphicsMill.LockableObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_LockableObject.htm.md)
        - [Aurigma.GraphicsMill.Codecs.AviTransition](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviTransition.htm.md)
            - Aurigma.GraphicsMill.Codecs.AviCustomTransition
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
   
## See Also

### Reference

- [AviCustomTransition Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Codecs_AviCustomTransition.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
