AmpAnim Class

A runtime-managed animated image, typically a GIF.
Inheritance Hierarchy

Namespace:  Aspose.Email.Amp
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.2
Syntax
public class AmpAnim : AmpImage

The AmpAnim type exposes the following members.

Constructors
  NameDescription
Public methodAmpAnim
Creates instance of AmpAnim.
Properties
  NameDescription
Public propertyAlt
A string of alternate text, similar to the alt attribute on img.
(Inherited from AmpImage.)
Public propertyAttributes
AMP provides a set of common attributes that are extended to many AMP components.
(Inherited from AmpComponent.)
Public propertyAttribution
A string that indicates the attribution of the image.
Public propertyFallback
A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element.
(Inherited from AmpComponent.)
Public propertyIsValid
Indicates whether this image is valid of AmpImage.
(Inherited from AmpImage.)
Public propertyPlaceholder
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.
(Inherited from AmpComponent.)
Public propertyRequiredScript
Required script that muct be added to head section.
(Overrides AmpImageRequiredScript.)
Public propertySrc
Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file
(Inherited from AmpImage.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToAmpHtml
Represents amp html version of component.
(Overrides AmpImageToAmpHtml.)
Public methodToHtml
Represents html version of component.
(Inherited from AmpImage.)
Public methodToString (Inherited from Object.)
Fields
  NameDescription
Protected fielddefaultHeight (Inherited from AmpImage.)
Protected fielddefaultWidth (Inherited from AmpImage.)
See Also