Aspose::Email::Amp::AmpCarousel Class Reference

Component allows displaying multiple similar pieces of content along a horizontal axis. More...

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

Public Member Functions

CarouselType get_Type () const
 Specifies the display type for the carousel items. More...
 
void set_Type (CarouselType value)
 Specifies the display type for the carousel items. More...
 
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< AmpImage > > > get_Images () const
 Set of images for displaying. More...
 
System::String get_RequiredScript () override
 Required script that muct be added to head section. More...
 
 AmpCarousel (int32_t width, int32_t height)
 Create instance of form AmpCarousel. 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 ()
 

Detailed Description

Component allows displaying multiple similar pieces of content along a horizontal axis.

Constructor & Destructor Documentation

◆ AmpCarousel()

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

Create instance of form AmpCarousel.

Parameters
widthwidth of AmpCarousel
heightheight of AmpCarousel

Member Function Documentation

◆ get_Images()

System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<AmpImage> > > Aspose::Email::Amp::AmpCarousel::get_Images ( ) const

Set of images for displaying.

◆ get_RequiredScript()

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

Required script that muct be added to head section.

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

◆ get_Type()

CarouselType Aspose::Email::Amp::AmpCarousel::get_Type ( ) const

Specifies the display type for the carousel items.

◆ set_Type()

void Aspose::Email::Amp::AmpCarousel::set_Type ( CarouselType  value)

Specifies the display type for the carousel items.

◆ ToAmpHtml()

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

Represents amp html version of component.

Returns

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

◆ ToHtml()

System::String Aspose::Email::Amp::AmpCarousel::ToHtml ( )
overridevirtual

Represents html version of component.

Returns

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