More...
Inherits Aspose::Email::Amp::AmpComponent.
Inherited by Aspose::Email::Amp::AmpAnim.
|
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...
|
|
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 () |
|
◆ AmpImage()
Aspose::Email::Amp::AmpImage::AmpImage |
( |
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| |
◆ get_Alt()
System::String Aspose::Email::Amp::AmpImage::get_Alt |
( |
| ) |
const |
A string of alternate text, similar to the alt attribute on img.
◆ get_IsValid()
bool Aspose::Email::Amp::AmpImage::get_IsValid |
( |
| ) |
|
Indicates whether this image is valid of AmpImage.
◆ get_RequiredScript()
System::String Aspose::Email::Amp::AmpImage::get_RequiredScript |
( |
| ) |
|
|
overridevirtual |
◆ get_Src()
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
◆ set_Alt()
void Aspose::Email::Amp::AmpImage::set_Alt |
( |
System::String |
value | ) |
|
A string of alternate text, similar to the alt attribute on img.
◆ set_Src()
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
◆ ToAmpHtml()
System::String Aspose::Email::Amp::AmpImage::ToAmpHtml |
( |
| ) |
|
|
overridevirtual |
◆ ToHtml()
System::String Aspose::Email::Amp::AmpImage::ToHtml |
( |
| ) |
|
|
overridevirtual |
◆ defaultHeight
int32_t Aspose::Email::Amp::AmpImage::defaultHeight |
|
protected |
◆ defaultWidth
int32_t Aspose::Email::Amp::AmpImage::defaultWidth |
|
protected |