---
title: "ITimeWriter..::.TimeToFrameIndex Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_ITimeWriter_TimeToFrameIndex_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/)

# ITimeWriter.TimeToFrameIndex Method 
 
Returns the index of the frame which is shown at the specified time.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Function TimeToFrameIndex ( _time As Integer _
) As Integer
```
 
```csharp
                int TimeToFrameIndex(int time
)
```
 
### Parameters
 
 - time
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
An integer value measured in 1/100s of a second that specifies the moment of time at which the frame in question appears.
 
### Return Value
The number of the frame which is shown at the specified time.
   
## See Also

### Reference

- [ITimeWriter Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_ITimeWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
