# OfficeRasterExportPlanner

Creates overflow-safe raster allocation plans before any image surface is allocated.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeRasterExportPlanner.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterExportPlanner.cs#L52)

**Modifiers**

static

Creates overflow-safe raster allocation plans before any image surface is allocated.

## Inheritance

- object
- OfficeRasterExportPlanner

Filter members 

Show inherited

## Methods

Resolve 2 overloads

`public static OfficeRasterExportPlan Resolve(double width, double height, OfficeImageExportFormat format, OfficeImageExportOptions options, string? source = null)` [#](#method-resolve-double-double-officeimo-drawing-officeimageexportformat-officeimo-drawing-officeimageexportoptions-string)

[OfficeRasterExportPlanner.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterExportPlanner.cs#L52)

Resolves a raster plan from shared export options and the selected encoder's limits.

Parameters

**width double required**

**height double required**

**format OfficeIMO.Drawing.OfficeImageExportFormat required**

**options OfficeIMO.Drawing.OfficeImageExportOptions required**

**source string? = null optional**

Returns

`OfficeRasterExportPlan`

`public static OfficeRasterExportPlan Resolve(double width, double height, OfficeImageExportFormat format, OfficeImageExportOptions options, long rendererMaximumPixels, string? source = null)` [#](#method-resolve-double-double-officeimo-drawing-officeimageexportformat-officeimo-drawing-officeimageexportoptions-int64-string)

[OfficeRasterExportPlanner.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterExportPlanner.cs#L64)

Resolves a raster plan with an additional renderer-specific pixel ceiling.

Parameters

**width double required**

**height double required**

**format OfficeIMO.Drawing.OfficeImageExportFormat required**

**options OfficeIMO.Drawing.OfficeImageExportOptions required**

**rendererMaximumPixels long required**

**source string? = null optional**

Returns

`OfficeRasterExportPlan`

## 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:E2F9513EC660022AA56A32F0CA3B50CE27082385EFDC6D264BDF0E573E7D062D -->
