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< AmpAttributes > | get_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< AmpComponent > | get_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 () | |
Expands or shrinks its font size to fit the content within the space given to it.
| Aspose::Email::Amp::AmpFitText::AmpFitText | ( | System::String | value | ) |
Creates instance of AmpFitText.
| value |
| int32_t Aspose::Email::Amp::AmpFitText::get_MaxFontSize | ( | ) | const |
Specifies the maximum font size as an integer that the amp-fit-text can use.
| int32_t Aspose::Email::Amp::AmpFitText::get_MinFontSize | ( | ) | const |
Specifies the minimum font size as an integer that the amp-fit-text can use.
|
overridevirtual |
Required script that muct be added to head section.
Implements Aspose::Email::Amp::AmpComponent.
| System::String Aspose::Email::Amp::AmpFitText::get_Value | ( | ) | const |
Text Value of component.
| 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.
| 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.
| void Aspose::Email::Amp::AmpFitText::set_Value | ( | System::String | value | ) |
Text Value of component.
|
overridevirtual |
|
overridevirtual |