AmpImage

AmpImage class

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

Constructors

NameDescription
AmpImageCreate instance of AmpImage .

Methods

NameDescription
get_AltA string of alternate text, similar to the alt attribute on img.
get_IsValidIndicates whether this image is valid of AmpImage .
get_RequiredScriptRequired script that muct be added to head section.
get_SrcSimilar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file
set_AltA string of alternate text, similar to the alt attribute on img.
set_SrcSimilar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file
ToAmpHtmlRepresents amp html version of component.
ToHtmlRepresents html version of component.
defaultHeightDefault height of image.
defaultWidthDefault width of image.