---
title: "PdfWriter Constructor (Stream, OutputIntent)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_PdfWriter_ctor_2_ae05e8f5.htm
product: "Graphics Mill"
---

# PdfWriter Constructor (Stream, 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 Stream 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(Stream stream,OutputIntent outputIntent
)
```
 
### Parameters
 
 - stream
     - Type: System.IO.Stream
The Stream 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)
