# OfficeRasterFrame

A rendered raster frame or page and its display duration.

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OfficeRasterFrame.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Raster/OfficeRasterFrame.cs#L7)

**Modifiers**

sealed

A rendered raster frame or page and its display duration.

## Inheritance

- object
- OfficeRasterFrame

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

- Method [OfficeRasterFrames.GetEnumerator](/api/core/officeimo-drawing-officerasterframes/#method-getenumerator)
- Property [OfficeRasterFrames.Item](/api/core/officeimo-drawing-officerasterframes/#property-item-int32)

### Accepted by parameters 1

- Constructor [OfficeRasterFrames.OfficeRasterFrames](/api/core/officeimo-drawing-officerasterframes/#constructor-ctor-collections-generic-ienumerable-officeimo-drawing-officerasterframe-int32) parameter `frames`

Filter members 

Show inherited

## Constructors

`public OfficeRasterFrame(OfficeRasterImage image, TimeSpan duration = default)` [#](#constructor-ctor-officeimo-drawing-officerasterimage-timespan)

[OfficeRasterFrame.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Raster/OfficeRasterFrame.cs#L7)

Creates a frame referring to a mutable managed image.

Parameters

**image OfficeIMO.Drawing.OfficeRasterImage required**

**duration System.TimeSpan = default optional**

## 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 OfficeRasterImage Image { get; }` [#](#property-image)

[OfficeRasterFrame.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Raster/OfficeRasterFrame.cs#L14)

Rendered full-canvas image for animation, or the independent image for a page.

`public TimeSpan Duration { get; }` [#](#property-duration)

[OfficeRasterFrame.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Raster/OfficeRasterFrame.cs#L16)

Display duration. Static images and pages use zero.

<!-- PowerForge markdown artifact sha256:0BA2352C1B6DCC2A42FE3CA56197780407C080F9A0279BEA61450F0D3ADC4B38 -->
