# OfficeRasterContainerInfo

Bounded format-neutral inventory of the images, frames, or pages in a raster container.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeRasterContainerInfo.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L114)

**Modifiers**

sealed

Bounded format-neutral inventory of the images, frames, or pages in a raster container.

## Inheritance

- object
- OfficeRasterContainerInfo

## Usage

Explore 2 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 [OfficeRasterDecodeInfo.Container](/api/core/officeimo-drawing-officerasterdecodeinfo/#property-container)

### Accepted by parameters 1

- Method [OfficeRasterContainerInspector.TryInspect](/api/core/officeimo-drawing-officerastercontainerinspector/#method-tryinspect-byte-officeimo-drawing-officerastercontainerinfo) parameter `container`

Filter members 

Show inherited

## 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 OfficeImageFormat Format { get; }` [#](#property-format)

[OfficeRasterContainerInfo.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L114)

Detected container format.

`public int CanvasWidth { get; }` [#](#property-canvaswidth)

[OfficeRasterContainerInfo.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L116)

Logical canvas width in pixels.

`public int CanvasHeight { get; }` [#](#property-canvasheight)

[OfficeRasterContainerInfo.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L118)

Logical canvas height in pixels.

`public IReadOnlyList<OfficeRasterFrameInfo> Frames { get; }` [#](#property-frames)

[OfficeRasterContainerInfo.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L120)

Ordered frame or page descriptors.

`public int Count { get; }` [#](#property-count)

[OfficeRasterContainerInfo.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L122)

Number of frames or pages.

`public int LoopCount { get; }` [#](#property-loopcount)

[OfficeRasterContainerInfo.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L124)

Animation loop count; zero means infinite when [OfficeRasterContainerInfo.IsAnimated](/api/core/officeimo-drawing-officerastercontainerinfo/) is true.

`public int PlayCount { get; }` [#](#property-playcount)

[OfficeRasterContainerInfo.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L127)

Total animation plays; zero means infinite. Static images and pages report one.

`public OfficeColor Background { get; }` [#](#property-background)

[OfficeRasterContainerInfo.cs:129](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L129)

Container canvas background, when defined.

`public bool IsAnimated { get; }` [#](#property-isanimated)

[OfficeRasterContainerInfo.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L133)

Whether the container has timed animation frames.

`public bool IsMultiPage { get; }` [#](#property-ismultipage)

[OfficeRasterContainerInfo.cs:140](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Raster/OfficeRasterContainerInfo.cs#L140)

Whether the container has more than one independent page.

<!-- PowerForge markdown artifact sha256:7A262B1B32E38AD40DEB5CC863EEB52C3A45F9DCB0AA924B2B61400BB8EAFB90 -->
