# PdfProductionSplitPart

One generated production split artifact.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfProductionSplitter.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L76)

**Modifiers**

sealed

One generated production split artifact.

## Inheritance

- object
- PdfProductionSplitPart

## Usage

Explore 4 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 4

- Method [PdfDocumentPages.SplitForProduction](/api/pdf/officeimo-pdf-pdfdocumentpages/#method-splitforproduction-officeimo-pdf-pdfproductionsplitoptions-threading-cancellationtoken)
- Method [PdfProductionSplitResult.RequireValue](/api/pdf/officeimo-pdf-pdfproductionsplitresult/#method-requirevalue)
- Property [PdfProductionSplitResult.Parts](/api/pdf/officeimo-pdf-pdfproductionsplitresult/#property-parts)
- Property [PdfProductionSplitResult.Value](/api/pdf/officeimo-pdf-pdfproductionsplitresult/#property-value)

Filter members 

Show inherited

## Methods

`public byte[] ToBytes()` [#](#method-tobytes)

[PdfProductionSplitter.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L76)

Returns an independent copy of the generated part.

Returns

`byte[]`

`public PdfDocument ToDocument(PdfLoadOptions? readOptions = null)` [#](#method-todocument-officeimo-pdf-pdfloadoptions)

[PdfProductionSplitter.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L78)

Opens the generated part through the public document API.

Parameters

**readOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfDocument`

## 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 int PartNumber { get; }` [#](#property-partnumber)

[PdfProductionSplitter.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L66)

One-based part number.

`public IReadOnlyList<int> SourcePages { get; }` [#](#property-sourcepages)

[PdfProductionSplitter.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L68)

One-based source pages contained in this part.

`public PdfProductionSplitReason Reason { get; }` [#](#property-reason)

[PdfProductionSplitter.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L70)

Reason this part ended at its final source page.

`public bool ExceedsTargetSize { get; }` [#](#property-exceedstargetsize)

[PdfProductionSplitter.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L72)

True when this part exceeds the target because one source page cannot be split further.

`public long SizeBytes { get; }` [#](#property-sizebytes)

[PdfProductionSplitter.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Manipulation/PdfProductionSplitter.cs#L74)

Generated artifact size in bytes.

<!-- PowerForge markdown artifact sha256:C1EC79307D4001DAB7969C13A28B567B94EB7DDCB3AC77B7447DCCEFBE5129F1 -->
