# OfficeRasterScaleLimit

Resolved raster dimensions after applying a hard decoded-pixel limit.

Struct 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeRasterScaleLimiter.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L13)

**Base**

`ValueType`

**Modifiers**

sealed

Resolved raster dimensions after applying a hard decoded-pixel limit.

## Inheritance

- ValueType
- OfficeRasterScaleLimit

## Usage

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

- Property [OfficeRasterExportPlan.Limit](/api/core/officeimo-drawing-officerasterexportplan/#property-limit)

Filter members 

Show inherited

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from ValueType

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from ValueType

Returns

`string?`

## Properties

`public double Scale { get; }` [#](#property-scale)

[OfficeRasterScaleLimiter.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L13)

Effective scale that satisfies the requested ceiling.

`public int PixelWidth { get; }` [#](#property-pixelwidth)

[OfficeRasterScaleLimiter.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L15)

Ceiling-rounded output width.

`public int PixelHeight { get; }` [#](#property-pixelheight)

[OfficeRasterScaleLimiter.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L17)

Ceiling-rounded output height.

`public bool WasLimited { get; }` [#](#property-waslimited)

[OfficeRasterScaleLimiter.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L19)

Whether the requested scale had to be reduced.

`public long PixelCount { get; }` [#](#property-pixelcount)

[OfficeRasterScaleLimiter.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterScaleLimiter.cs#L21)

Total decoded pixels.

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