---
title: "IEncoderOptions..::.MediaFormat Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IEncoderOptions_MediaFormat.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/)

# IEncoderOptions.MediaFormat Property 
 
Returns media format for which encoder options are defined.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
ReadOnly Property MediaFormat As Long
```
 
```csharp
                long MediaFormat { get; }
```
 
### Property Value
An integer value that specifies a media format ID for which encoder options are defined.
 
## Remarks
  
Each descendant class returns fixed value specifying media format it represents.
 
Each format supported with Graphics Mill for .NET has its own format ID. They are represented by static fields of [FormatManager](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatManager.htm.md), such as [JpegFormat](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_FormatManager_JpegFormat.htm.md), [GifFormat](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_FormatManager_GifFormat.htm.md), etc.
   
## See Also

### Reference

- [IEncoderOptions Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IEncoderOptions.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
