---
title: "PdfWriter Constructor (String, OutputIntent, PdfVtOptions)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_PdfWriter_ctor_3_57beae66.htm
product: "Graphics Mill"
---

# PdfWriter Constructor (String, OutputIntent, PdfVtOptions)
 
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, [OutputIntent](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_OutputIntent.htm.md), and PDF/VT options.
 
**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,PdfVtOptions vtOptions
)
```
 
### 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.

 - vtOptions
     - Type: [Aurigma.GraphicsMill.Codecs.PdfVtOptions](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfVtOptions.htm.md)
The [PdfVtOptions](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfVtOptions.htm.md) with the PDF/VT settings, such as the document title and the DPart metadata.
   
## 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)
