---
title: "PdfWriter.AddPage Method (Single, Single, RectangleF, RectangleF, RectangleF)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_PdfWriter_AddPage_5_38b500f3.htm
product: "Graphics Mill"
---

# PdfWriter.AddPage Method (Single, Single, RectangleF, RectangleF, RectangleF)
 
Adds a page with the specified dimensions and rectangles to the PDF document.
 
**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 void AddPage(float width,float height,RectangleF cropBox,RectangleF trimBox,RectangleF bleedBox
)
```
 
### Parameters
 
 - width
     - Type: System.Single
The width of the page.

 - height
     - Type: System.Single
The height of the page.

 - cropBox
     - Type: System.Drawing.RectangleF
The crop box of the page.

 - trimBox
     - Type: System.Drawing.RectangleF

 - bleedBox
     - Type: System.Drawing.RectangleF
The bleed box of the page.
   
## See Also

### Reference

- [PdfWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_PdfWriter.htm.md)
- [AddPage Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_PdfWriter_AddPage.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
