AmpCarousel

Inheritance: java.lang.Object, com.aspose.email.AmpComponent

public class AmpCarousel extends AmpComponent

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

Constructors

Constructor Description
AmpCarousel(int width, int height) Create instance of form AmpCarousel.

Methods

Method Description
getType() Specifies the display type for the carousel items.
setType(int value) Specifies the display type for the carousel items.
getImages() Set of images for displaying.
getRequiredScript() Required script that muct be added to head section.
toAmpHtml() Represents amp html version of component.
toHtml() Represents html version of component.

AmpCarousel(int width, int height)

public AmpCarousel(int width, int height)

Create instance of form AmpCarousel.

Parameters:

Parameter Type Description
width int width of AmpCarousel
height int height of AmpCarousel

getType()

public final int getType()

Specifies the display type for the carousel items.

Returns: int

setType(int value)

public final void setType(int value)

Specifies the display type for the carousel items.

Parameters:

Parameter Type Description
value int

getImages()

public final List<AmpImage> getImages()

Set of images for displaying.

Returns: java.util.List<com.aspose.email.AmpImage>

getRequiredScript()

public String getRequiredScript()

Required script that muct be added to head section.

Returns: java.lang.String

toAmpHtml()

public String toAmpHtml()

Represents amp html version of component.

Returns: java.lang.String -

toHtml()

public String toHtml()

Represents html version of component.

Returns: java.lang.String -