# OdpAnimation

An XML-backed basic ODP animation effect.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdpAnimation.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L26)

**Modifiers**

sealed

An XML-backed basic ODP animation effect.

## Inheritance

- object
- OdpAnimation

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

- Method [OdpSlide.AddAnimation](/api/open-document/officeimo-opendocument-odpslide/#method-addanimation-officeimo-opendocument-odpshape-string-string-string-timespan)
- Method [OdpSlide.AddFadeInAnimation](/api/open-document/officeimo-opendocument-odpslide/#method-addfadeinanimation-officeimo-opendocument-odpshape-timespan)
- Property [OdpSlide.Animations](/api/open-document/officeimo-opendocument-odpslide/#property-animations)

Filter members 

Show inherited

## Methods

`public void Remove()` [#](#method-remove)

[OdpAnimation.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L26)

Removes this effect.

## 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 string TargetElement { get; }` [#](#property-targetelement)

[OdpAnimation.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L9)

Target shape XML identifier.

`public string AttributeName { get; }` [#](#property-attributename)

[OdpAnimation.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L11)

Animated attribute name.

`public string? From { get; }` [#](#property-from)

[OdpAnimation.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L13)

Starting value.

`public string? To { get; }` [#](#property-to)

[OdpAnimation.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L15)

Ending value.

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

[OdpAnimation.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpAnimation.cs#L19)

Effect duration.

<!-- PowerForge markdown artifact sha256:65564A871D27A318CDE5DECCEC60677D17D93A87A20E08AFB45E51714BEB5E98 -->
