---
title: "PdfWriter Constructor (String, OutputIntent)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_PdfWriter_ctor_2_4d0ad644.htm
product: "Graphics Mill"
---

# PdfWriter Constructor (String, OutputIntent)
 
Initializes a new instance of the [PdfWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfWriter.htm.md) class using the specified file name and [OutputIntent](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_OutputIntent.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public PdfWriter(string fileName,OutputIntent outputIntent
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
The name of the file to create this writer on.

 - outputIntent
     - Type: [Aurigma.GraphicsMill.Codecs.OutputIntent](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_OutputIntent.htm.md)
The output intent.
   
## See Also

### Reference

- [PdfWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfWriter.htm.md)
- [PdfWriter Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_PdfWriter_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
