# PdfPrintProductionPageBoxes

Defines print-production page boxes as insets from the generated page MediaBox.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfPrintProductionPageBoxes.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Options/PdfPrintProductionPageBoxes.cs#L12)

**Modifiers**

sealed

Defines print-production page boxes as insets from the generated page MediaBox.

## Inheritance

- object
- PdfPrintProductionPageBoxes

## Remarks

Bleed insets must not exceed trim insets, so the resolved BleedBox contains the TrimBox. Use [PdfPrintProductionPageBoxes.FullBleed](/api/pdf/officeimo-pdf-pdfprintproductionpageboxes/) when the MediaBox, BleedBox, and TrimBox are identical.

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Small-format workshop badges](/showcase/pdf-event-badges/) Sample
  
  Generate two individual 340-by-255-point PDF workshop badges with participant names, roles and event details. Preview both pages and adapt the C# source.

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [PdfCreateOptions.PrintProductionPageBoxes](/api/pdf/officeimo-pdf-pdfcreateoptions/#property-printproductionpageboxes)
- Property [PdfPrintProductionPageBoxes.FullBleed](/api/pdf/officeimo-pdf-pdfprintproductionpageboxes/#property-fullbleed)

### Accepted by parameters 1

- Method [PdfPageBuilder.PrintProductionPageBoxes](/api/pdf/officeimo-pdf-pdfpagebuilder/#method-printproductionpageboxes-officeimo-pdf-pdfprintproductionpageboxes) parameter `boxes`

Filter members 

Show inherited

## Constructors

`public PdfPrintProductionPageBoxes(PdfPageMargins trimInsets, PdfPageMargins bleedInsets)` [#](#constructor-ctor-officeimo-pdf-pdfpagemargins-officeimo-pdf-pdfpagemargins)

[PdfPrintProductionPageBoxes.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Options/PdfPrintProductionPageBoxes.cs#L12)

Creates print-production page boxes from MediaBox-relative insets.

Parameters

**trimInsets OfficeIMO.Pdf.PdfPageMargins required**

**bleedInsets OfficeIMO.Pdf.PdfPageMargins required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfPageMargins TrimInsets { get; }` [#](#property-triminsets)

[PdfPrintProductionPageBoxes.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Options/PdfPrintProductionPageBoxes.cs#L19)

Insets used to resolve the TrimBox from the MediaBox.

`public PdfPageMargins BleedInsets { get; }` [#](#property-bleedinsets)

[PdfPrintProductionPageBoxes.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Options/PdfPrintProductionPageBoxes.cs#L22)

Insets used to resolve the BleedBox from the MediaBox.

`public static PdfPrintProductionPageBoxes FullBleed { get; }` [#](#property-fullbleed)

[PdfPrintProductionPageBoxes.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Options/PdfPrintProductionPageBoxes.cs#L25)

Creates coincident MediaBox, BleedBox, and TrimBox boundaries.

<!-- PowerForge markdown artifact sha256:048BFB271B39F7C46CD12178000DC18D713393887B0ECDB4747C92AA4ABB6E4E -->
