AmpFitText

AmpFitText class

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

Expands or shrinks its font size to fit the content within the space given to it.

Constructors

NameDescription
AmpFitTextCreates instance of AmpFitText .

Methods

NameDescription
get_MaxFontSizeSpecifies the maximum font size as an integer that the amp-fit-text can use.
get_MinFontSizeSpecifies the minimum font size as an integer that the amp-fit-text can use.
get_RequiredScriptRequired script that muct be added to head section.
get_ValueText Value of component.
set_MaxFontSizeSpecifies the maximum font size as an integer that the amp-fit-text can use.
set_MinFontSizeSpecifies the minimum font size as an integer that the amp-fit-text can use.
set_ValueText Value of component.
ToAmpHtmlRepresents amp html version of component.
ToHtmlRepresents html version of component.