---
title: "Class AmpAnim"
url: "https://reference.aspose.com/email/net/aspose.email.amp/ampanim/"
product: "Aspose.Email for .NET API Reference"
description: "Aspose.Email.Amp.AmpAnim class. A runtimemanaged animated image typically a GIF"
---

## AmpAnim class

A runtime-managed animated image, typically a GIF.

```csharp
public class AmpAnim : AmpImage
```

## Constructors

| Name | Description |
| --- | --- |
| [AmpAnim](ampanim/)(int, int) | Creates instance of AmpAnim. |

## Properties

| Name | Description |
| --- | --- |
| [Alt](../../aspose.email.amp/ampimage/alt/) { get; set; } | A string of alternate text, similar to the alt attribute on img. |
| [Attributes](../../aspose.email.amp/ampcomponent/attributes/) { get; } | AMP provides a set of common attributes that are extended to many AMP components. |
| [Attribution](../../aspose.email.amp/ampanim/attribution/) { get; set; } | A string that indicates the attribution of the image. |
| [Fallback](../../aspose.email.amp/ampcomponent/fallback/) { get; set; } | A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. |
| [IsValid](../../aspose.email.amp/ampimage/isvalid/) { get; } | Indicates whether this image is valid of AmpImage. |
| [Placeholder](../../aspose.email.amp/ampcomponent/placeholder/) { get; set; } | The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element. |
| override [RequiredScript](../../aspose.email.amp/ampanim/requiredscript/) { get; } | Required script that muct be added to head section. |
| [Src](../../aspose.email.amp/ampimage/src/) { get; set; } | Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file |

## Methods

| Name | Description |
| --- | --- |
| override [ToAmpHtml](../../aspose.email.amp/ampanim/toamphtml/)() | Represents amp html version of component. |
| override [ToHtml](../../aspose.email.amp/ampimage/tohtml/)() | Represents html version of component. |

### See Also

* class [AmpImage](../ampimage/)
* namespace [Aspose.Email.Amp](../../aspose.email.amp/)
* assembly [Aspose.Email](../../)


