Aspose::Email::Amp::AmpAnim Class Reference

A runtime-managed animated image, typically a GIF. More...

Inherits Aspose::Email::Amp::AmpImage.

Public Member Functions

System::String get_Attribution () const
 A string that indicates the attribution of the image. More...
 
void set_Attribution (System::String value)
 A string that indicates the attribution of the image. More...
 
System::String get_RequiredScript () override
 Required script that muct be added to head section. More...
 
 AmpAnim (int32_t width, int32_t height)
 Creates instance of AmpAnim. More...
 
System::String ToAmpHtml () override
 Represents amp html version of component. More...
 
- Public Member Functions inherited from Aspose::Email::Amp::AmpImage
System::String get_Src () const
 Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file More...
 
void set_Src (System::String value)
 Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file More...
 
System::String get_Alt () const
 A string of alternate text, similar to the alt attribute on img. More...
 
void set_Alt (System::String value)
 A string of alternate text, similar to the alt attribute on img. More...
 
bool get_IsValid ()
 Indicates whether this image is valid of AmpImage. More...
 
System::String get_RequiredScript () override
 Required script that muct be added to head section. More...
 
 AmpImage (int32_t width, int32_t height)
 Create instance of AmpImage. More...
 
System::String ToAmpHtml () override
 Represents amp html version of component. More...
 
System::String ToHtml () override
 Represents html version of component. More...
 
- Public Member Functions inherited from Aspose::Email::Amp::AmpComponent
System::SharedPtr< AmpAttributesget_Attributes () const
 AMP provides a set of common attributes that are extended to many AMP components. More...
 
System::String get_Fallback () const
 A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More...
 
void set_Fallback (System::String value)
 A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More...
 
System::SharedPtr< AmpComponentget_Placeholder () const
 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. More...
 
void set_Placeholder (System::SharedPtr< AmpComponent > value)
 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. More...
 
 AmpComponent ()
 

Additional Inherited Members

- Protected Attributes inherited from Aspose::Email::Amp::AmpImage
int32_t defaultWidth
 Default width of image. More...
 
int32_t defaultHeight
 Default height of image. More...
 

Detailed Description

A runtime-managed animated image, typically a GIF.

Constructor & Destructor Documentation

◆ AmpAnim()

Aspose::Email::Amp::AmpAnim::AmpAnim ( int32_t  width,
int32_t  height 
)

Creates instance of AmpAnim.

Parameters
widthwidth of AmpAnim
heightheight of AmpAnim

Member Function Documentation

◆ get_Attribution()

System::String Aspose::Email::Amp::AmpAnim::get_Attribution ( ) const

A string that indicates the attribution of the image.

◆ get_RequiredScript()

System::String Aspose::Email::Amp::AmpAnim::get_RequiredScript ( )
overridevirtual

Required script that muct be added to head section.

Implements Aspose::Email::Amp::AmpComponent.

◆ set_Attribution()

void Aspose::Email::Amp::AmpAnim::set_Attribution ( System::String  value)

A string that indicates the attribution of the image.

◆ ToAmpHtml()

System::String Aspose::Email::Amp::AmpAnim::ToAmpHtml ( )
overridevirtual

Represents amp html version of component.

Returns

Implements Aspose::Email::Amp::AmpComponent.