Aspose::Email::Amp::AmpComponent Class Referenceabstract

Base class to representation amp components. More...

Inherits Object.

Inherited by Aspose::Email::Amp::AmpAccordion, Aspose::Email::Amp::AmpCarousel, Aspose::Email::Amp::AmpFitText, Aspose::Email::Amp::AmpForm, Aspose::Email::Amp::AmpImage, and Aspose::Email::Amp::AmpTimeago.

Public Member Functions

virtual ASPOSE_EMAIL_SHARED_API System::String get_RequiredScript ()=0
 Required script that muct be added to head section. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< AmpAttributesget_Attributes () const
 AMP provides a set of common attributes that are extended to many AMP components. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToAmpHtml ()=0
 Represents amp html version of component. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToHtml ()=0
 Represents html version of component. More...
 
ASPOSE_EMAIL_SHARED_API AmpComponent ()
 

Detailed Description

Base class to representation amp components.

Constructor & Destructor Documentation

◆ AmpComponent()

ASPOSE_EMAIL_SHARED_API Aspose::Email::Amp::AmpComponent::AmpComponent ( )

Member Function Documentation

◆ get_Attributes()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<AmpAttributes> Aspose::Email::Amp::AmpComponent::get_Attributes ( ) const

AMP provides a set of common attributes that are extended to many AMP components.

◆ get_Fallback()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::AmpComponent::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.

◆ get_Placeholder()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<AmpComponent> Aspose::Email::Amp::AmpComponent::get_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.

◆ get_RequiredScript()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::AmpComponent::get_RequiredScript ( )
pure virtual

◆ set_Fallback()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::AmpComponent::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.

◆ set_Placeholder()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::AmpComponent::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.

◆ ToAmpHtml()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::AmpComponent::ToAmpHtml ( )
pure virtual

◆ ToHtml()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::AmpComponent::ToHtml ( )
pure virtual