---
title: "CustomFormatReader..::.UpdateEvents Method (Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_CustomFormatReader_UpdateEvents_1_e1836fc4.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/)

# CustomFormatReader.UpdateEvents Method (Int32)
 
Updates the progress state while loading a bitmap or a thumbnail by the specified value.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Protected Friend Sub UpdateEvents ( _valueToUpdateProgress As Integer _
)
```
 
```csharp
protected internal void UpdateEvents(int valueToUpdateProgress
)
```
 
### Parameters
 
 - valueToUpdateProgress
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Progress state value (to update the progress by).
 
## Remarks
  
This method should be called after completing a successive step of the operation, for example, after reading a pixel row.
   
## See Also

### Reference

- [CustomFormatReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFormatReader.htm.md)
- [UpdateEvents Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_CustomFormatReader_UpdateEvents.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
