AmpAnim

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

public class AmpAnim extends AmpImage

A runtime-managed animated image, typically a GIF.

Constructors

Constructor Description
AmpAnim(int width, int height) Creates instance of AmpAnim.

Methods

Method Description
getAttribution() A string that indicates the attribution of the image.
setAttribution(String value) A string that indicates the attribution of the image.
getRequiredScript() Required script that muct be added to head section.
toAmpHtml() Represents amp html version of component.

AmpAnim(int width, int height)

public AmpAnim(int width, int height)

Creates instance of AmpAnim.

Parameters:

Parameter Type Description
width int width of AmpAnim
height int height of AmpAnim

getAttribution()

public final String getAttribution()

A string that indicates the attribution of the image.

Returns: java.lang.String

setAttribution(String value)

public final void setAttribution(String value)

A string that indicates the attribution of the image.

Parameters:

Parameter Type Description
value java.lang.String

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 -