---
title: "FormatReader..::.CodecPriority Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_FormatReader_CodecPriority.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/)

# FormatReader.CodecPriority Property 
 
Returns the priority of the codec.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable ReadOnly Property CodecPriority As Integer
```
 
```csharp
public virtual int CodecPriority { get; }
```
 
### Property Value
The priority of the codec.
 
### Implements
 
[IFormatReader.CodecPriority](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFormatReader_CodecPriority.htm.md)
 
## Remarks
 Graphics Mill for .NET uses this value to resolve the conflict when several codec classes are used to load the same file format. It will choose the codec class which has the higher priority.
   
## See Also

### Reference

- [FormatReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
