---
title: "AviDrawWatermarkEventArgs Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs_ctor_4_da1f83c4.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/)

# AviDrawWatermarkEventArgs Constructor 
 
Creates and initializes new [AviDrawWatermarkEventArgs](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs.htm.md) object.
 
**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 ( _bitmap As Bitmap, _frameIndex As Integer, _time As Integer, _intermediateFrame As Boolean _
)
```
 
```csharp
public AviDrawWatermarkEventArgs(Bitmap bitmap,int frameIndex,int time,bool intermediateFrame
)
```
 
### Parameters
 
 - bitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
An instance of the [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class containing the bitmap in the current frame. You can change it later using the [Bitmap](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs_Bitmap.htm.md) property.

 - frameIndex
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An integer value specifying the index of the current frame. You can change it later using the [FrameIndex](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs_FrameIndex.htm.md) property.

 - time
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An integer value specifying the timing of the current frame (measured in 1/100 of seconds). You can change it later using the [Time](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs_Time.htm.md) property.

 - intermediateFrame
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
A [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) value indicating whether the current frame is intermediate. You can change it later using the [IntermediateFrame](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs_IntermediateFrame.htm.md) property.
   
## See Also

### Reference

- [AviDrawWatermarkEventArgs Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviDrawWatermarkEventArgs.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
