com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AmpCarousel



  • public class AmpCarousel
    extends AmpComponent

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

    • Constructor Detail

      • AmpCarousel

        public AmpCarousel(int width,
                   int height)

        Create instance of form AmpCarousel.

        Parameters:
        width - width of AmpCarousel
        height - height of AmpCarousel
    • Method Detail

      • getType

        public final int getType()

        Specifies the display type for the carousel items.

      • setType

        public final void setType(int value)

        Specifies the display type for the carousel items.

      • getImages

        public final List<AmpImage> getImages()

        Set of images for displaying.

      • toAmpHtml

        public String toAmpHtml()

        Represents amp html version of component.

        Specified by:
        toAmpHtml in class AmpComponent
        Returns:
      • toHtml

        public String toHtml()

        Represents html version of component.

        Specified by:
        toHtml in class AmpComponent
        Returns: