AmpImage
Contents
[
Hide
]AmpImage class
Inherits: Aspose::Email::Amp::AmpComponent
Constructors
| Name | Description |
|---|---|
| AmpImage | Create instance of AmpImage . |
Methods
| Name | Description |
|---|---|
| get_Alt | A string of alternate text, similar to the alt attribute on img. |
| get_IsValid | Indicates whether this image is valid of AmpImage . |
| get_RequiredScript | Required script that muct be added to head section. |
| 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 | A string of alternate text, similar to the alt attribute on img. |
| 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 | Represents amp html version of component. |
| ToHtml | Represents html version of component. |
| defaultHeight | Default height of image. |
| defaultWidth | Default width of image. |