Aspose::Email::Amp::AmpFitText Class Reference

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

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

Public Member Functions

System::String get_Value () const
 Text Value of component. More...
 
void set_Value (System::String value)
 Text Value of component. More...
 
int32_t get_MinFontSize () const
 Specifies the minimum font size as an integer that the amp-fit-text can use. More...
 
void set_MinFontSize (int32_t value)
 Specifies the minimum font size as an integer that the amp-fit-text can use. More...
 
int32_t get_MaxFontSize () const
 Specifies the maximum font size as an integer that the amp-fit-text can use. More...
 
void set_MaxFontSize (int32_t value)
 Specifies the maximum font size as an integer that the amp-fit-text can use. More...
 
System::String get_RequiredScript () override
 Required script that muct be added to head section. More...
 
 AmpFitText (System::String value)
 Creates instance of AmpFitText. More...
 
System::String ToAmpHtml () override
 Represents amp html version of component. More...
 
System::String ToHtml () override
 Represents html version of component. More...
 
- Public Member Functions inherited from Aspose::Email::Amp::AmpComponent
System::SharedPtr< AmpAttributesget_Attributes () const
 AMP provides a set of common attributes that are extended to many AMP components. More...
 
System::String get_Fallback () const
 A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More...
 
void set_Fallback (System::String value)
 A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element. More...
 
System::SharedPtr< AmpComponentget_Placeholder () const
 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. More...
 
void set_Placeholder (System::SharedPtr< AmpComponent > value)
 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. More...
 
 AmpComponent ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AmpFitText()

Aspose::Email::Amp::AmpFitText::AmpFitText ( System::String  value)

Creates instance of AmpFitText.

Parameters
value

Member Function Documentation

◆ get_MaxFontSize()

int32_t Aspose::Email::Amp::AmpFitText::get_MaxFontSize ( ) const

Specifies the maximum font size as an integer that the amp-fit-text can use.

◆ get_MinFontSize()

int32_t Aspose::Email::Amp::AmpFitText::get_MinFontSize ( ) const

Specifies the minimum font size as an integer that the amp-fit-text can use.

◆ get_RequiredScript()

System::String Aspose::Email::Amp::AmpFitText::get_RequiredScript ( )
overridevirtual

Required script that muct be added to head section.

Implements Aspose::Email::Amp::AmpComponent.

◆ get_Value()

System::String Aspose::Email::Amp::AmpFitText::get_Value ( ) const

Text Value of component.

◆ set_MaxFontSize()

void Aspose::Email::Amp::AmpFitText::set_MaxFontSize ( int32_t  value)

Specifies the maximum font size as an integer that the amp-fit-text can use.

◆ set_MinFontSize()

void Aspose::Email::Amp::AmpFitText::set_MinFontSize ( int32_t  value)

Specifies the minimum font size as an integer that the amp-fit-text can use.

◆ set_Value()

void Aspose::Email::Amp::AmpFitText::set_Value ( System::String  value)

Text Value of component.

◆ ToAmpHtml()

System::String Aspose::Email::Amp::AmpFitText::ToAmpHtml ( )
overridevirtual

Represents amp html version of component.

Returns

Implements Aspose::Email::Amp::AmpComponent.

◆ ToHtml()

System::String Aspose::Email::Amp::AmpFitText::ToHtml ( )
overridevirtual

Represents html version of component.

Returns

Implements Aspose::Email::Amp::AmpComponent.