---
title: "IFormatInfo..::.DefaultExtension Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFormatInfo_DefaultExtension.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/)

# IFormatInfo.DefaultExtension Property 
 
Returns default extension for this format.
 
**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 DefaultExtension As String
```
 
```csharp
                string DefaultExtension { get; }
```
 
### Property Value
Default extension for this format.
 
## Remarks
  
Default extension is used by file dialogs. If you type file name without extension, file dialog will automatically append this extension to it.
 
This extension is returned in file mask form, i.e. includes asterisk: `*.[extension]`.
   
## See Also

### Reference

- [IFormatInfo Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFormatInfo.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
