---
title: "FormatManager..::.RegisterFormatWriter Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_FormatManager_RegisterFormatWriter_1_846cd17a.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/)

# FormatManager.RegisterFormatWriter Method 
 
Registers format writer and returns a boolean value indicating whether the registration was successful.
 
**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 Shared Function RegisterFormatWriter ( _pWriterType As Type _
) As Boolean
```
 
```csharp
public static bool RegisterFormatWriter(Type pWriterType
)
```
 
### Parameters
 
 - pWriterType
     - Type: [System.Type](http://msdn2.microsoft.com/en-us/42892f65)
The format writer type which implements the [IFormatWriter](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFormatWriter.htm.md) interface.
 
### Return Value
 **true** if format writer was successfully registered; otherwise, **false**.
 
## Remarks
 This method fails to register format writer with [UnknownFormat](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_FormatManager_UnknownFormat.htm.md) or [UnknownBeforeOpenFormat](https://www.graphicsmill.com/docs/gm5/F_Aurigma_GraphicsMill_Codecs_FormatManager_UnknownBeforeOpenFormat.htm.md) media format ID.
   
## See Also

### Reference

- [FormatManager Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatManager.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
