
## AmpImage class

**Inherits:** Aspose::Email::Amp::AmpComponent

## Constructors

| Name | Description |
| --- | --- |
| [AmpImage](./ampimage/) | Create instance of AmpImage . |

## Methods

| Name | Description |
| --- | --- |
| [get_Alt](./get_alt/) | A string of alternate text, similar to the alt attribute on img. |
| [get_IsValid](./get_isvalid/) | Indicates whether this image is valid of AmpImage . |
| [get_RequiredScript](./get_requiredscript/) | Required script that muct be added to head section. |
| [get_Src](./get_src/) | Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file |
| [set_Alt](./set_alt/) | A string of alternate text, similar to the alt attribute on img. |
| [set_Src](./set_src/) | Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file |
| [ToAmpHtml](./toamphtml/) | Represents amp html version of component. |
| [ToHtml](./tohtml/) | Represents html version of component. |
| [defaultHeight](./defaultheight/) | Default height of image. |
| [defaultWidth](./defaultwidth/) | Default width of image. |

