# PdfSplitPlan

Deterministic split filenames and page ranges shared by previews and execution.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[PdfSplitPlan.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSplitPlan.cs#L16)

**Modifiers**

sealed

Deterministic split filenames and page ranges shared by previews and execution.

## Inheritance

- object
- PdfSplitPlan

## 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 3

- Method [PdfSplitPlan.Create](/api/workflows/officeimo-workflows-pdfsplitplan/#method-create-int32-int32-int32)
- Method [PdfSplitPlan.FromStarts](/api/workflows/officeimo-workflows-pdfsplitplan/#method-fromstarts-int32-collections-generic-ireadonlylist-officeimo-workflows-pdfsplitstart-int32)
- Property [PdfSplitWorkflowRequest.Plan](/api/workflows/officeimo-workflows-pdfsplitworkflowrequest/#property-plan)

Filter members 

Show inherited

## Methods

`public static PdfSplitPlan Create(int pageCount, int pagesPerDocument, int maximumParts = 1000)` [#](#method-create-int32-int32-int32)

[PdfSplitPlan.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSplitPlan.cs#L16)

Creates a bounded plan without loading or changing a document.

Parameters

**pageCount int required**

**pagesPerDocument int required**

**maximumParts int = 1000 optional**

Returns

`PdfSplitPlan`

`public static PdfSplitPlan FromStarts(int pageCount, IReadOnlyList<PdfSplitStart> starts, int maximumParts = 1000)` [#](#method-fromstarts-int32-collections-generic-ireadonlylist-officeimo-workflows-pdfsplitstart-int32)

[PdfSplitPlan.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSplitPlan.cs#L34)

Creates a plan that starts a new part at each supplied page and names parts after their titles. Pages before the first start become an unnamed leading part; duplicate starts are merged.

Parameters

**pageCount int required**

**starts System.Collections.Generic.IReadOnlyList<OfficeIMO.Workflows.PdfSplitStart> required**

**maximumParts int = 1000 optional**

Returns

`PdfSplitPlan`

## 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 IReadOnlyList<PdfSplitPart> Parts { get; }` [#](#property-parts)

[PdfSplitPlan.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSplitPlan.cs#L13)

Output parts in source page order.

<!-- PowerForge markdown artifact sha256:92F4054AA60DB0D427ADD09490B41EBEBDADE8C694C8E0C3C1B43CC6E8816640 -->
