AmpFitText Class

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

Namespace:  Aspose.Email.Amp
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.2
public class AmpFitText : AmpComponent

The AmpFitText type exposes the following members.

Public methodAmpFitText
Creates instance of AmpFitText.
Public propertyAttributes
AMP provides a set of common attributes that are extended to many AMP components.
(Inherited from AmpComponent.)
Public propertyFallback
A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element.
(Inherited from AmpComponent.)
Public propertyMaxFontSize
Specifies the maximum font size as an integer that the amp-fit-text can use.
Public propertyMinFontSize
Specifies the minimum font size as an integer that the amp-fit-text can use.
Public propertyPlaceholder
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.
(Inherited from AmpComponent.)
Public propertyRequiredScript
Required script that muct be added to head section.
(Overrides AmpComponentRequiredScript.)
Public propertyValue
Text Value of component.
See Also