# PdfPrintPlanner

Creates print-preview sheet geometry without depending on a platform print driver.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[PdfPrintPlanner.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfPrintPlanner.cs#L172)

**Modifiers**

static

Creates print-preview sheet geometry without depending on a platform print driver.

## Inheritance

- object
- PdfPrintPlanner

Filter members 

Show inherited

## Methods

Create 2 overloads

`public static PdfPrintPlan Create(PdfDocument document, PdfPrintPlanRequest request, CancellationToken cancellationToken = default)` [#](#method-create-officeimo-pdf-pdfdocument-officeimo-workflows-pdfprintplanrequest-threading-cancellationtoken)

[PdfPrintPlanner.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfPrintPlanner.cs#L172)

Plans sheets from an already opened document without reading the input location again.

Parameters

**document OfficeIMO.Pdf.PdfDocument required**

**request OfficeIMO.Workflows.PdfPrintPlanRequest required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`PdfPrintPlan`

`public static PdfPrintPlan Create(PdfPrintPlanRequest request, CancellationToken cancellationToken = default)` [#](#method-create-officeimo-workflows-pdfprintplanrequest-threading-cancellationtoken)

[PdfPrintPlanner.cs:180](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfPrintPlanner.cs#L180)

Creates a validated print-preview plan.

Parameters

**request OfficeIMO.Workflows.PdfPrintPlanRequest required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`PdfPrintPlan`

`public static async Task<PdfPrintPlan> CreateAsync(PdfPrintPlanRequest request, CancellationToken cancellationToken = default)` [#](#method-createasync-officeimo-workflows-pdfprintplanrequest-threading-cancellationtoken)

Asynchronously creates a validated print-preview plan.

Parameters

**request OfficeIMO.Workflows.PdfPrintPlanRequest required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<PdfPrintPlan>`

## 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?`

<!-- PowerForge markdown artifact sha256:2475927B4B943E33B0382936FDEDAD8081681FA14E76A29639B01CB4ABBEBCE0 -->
