Inherits Aspose::Email::Amp::AmpComponent.
Inherited by Aspose::Email::Amp::AmpAnim.
Public Member Functions | |
| System::String | get_Src () const |
| Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file More... | |
| void | set_Src (System::String value) |
| Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file More... | |
| System::String | get_Alt () const |
| A string of alternate text, similar to the alt attribute on img. More... | |
| void | set_Alt (System::String value) |
| A string of alternate text, similar to the alt attribute on img. More... | |
| bool | get_IsValid () |
| Indicates whether this image is valid of AmpImage. More... | |
| System::String | get_RequiredScript () override |
| Required script that muct be added to head section. More... | |
| AmpImage (int32_t width, int32_t height) | |
| Create instance of AmpImage. 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 () | |
Protected Attributes | |
| int32_t | defaultWidth |
| Default width of image. More... | |
| int32_t | defaultHeight |
| Default height of image. More... | |
| Aspose::Email::Amp::AmpImage::AmpImage | ( | int32_t | width, |
| int32_t | height | ||
| ) |
| System::String Aspose::Email::Amp::AmpImage::get_Alt | ( | ) | const |
A string of alternate text, similar to the alt attribute on img.
| bool Aspose::Email::Amp::AmpImage::get_IsValid | ( | ) |
Indicates whether this image is valid of AmpImage.
|
overridevirtual |
Required script that muct be added to head section.
Implements Aspose::Email::Amp::AmpComponent.
| System::String Aspose::Email::Amp::AmpImage::get_Src | ( | ) | const |
Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file
| void Aspose::Email::Amp::AmpImage::set_Alt | ( | System::String | value | ) |
A string of alternate text, similar to the alt attribute on img.
| void Aspose::Email::Amp::AmpImage::set_Src | ( | System::String | value | ) |
Similar to the src attribute on the img tag. The value must be a URL that points to a publicly-cacheable image file
|
overridevirtual |
|
overridevirtual |
|
protected |
Default height of image.
|
protected |
Default width of image.