Aspose::Email::Amp::AmpAttributes Class Reference

Represents attributes used by the amp-components. More...

Inherits Object.

Public Member Functions

bool get_IsFallback () const
 Define that current element is fallback. More...
 
void set_IsFallback (bool value)
 Define that current element is fallback. More...
 
System::String get_Heigths () const
 The value of this attribute is a sizes expression based on media expressions. More...
 
void set_Heigths (System::String value)
 The value of this attribute is a sizes expression based on media expressions. More...
 
LayoutType get_Layout () const
 AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More...
 
void set_Layout (LayoutType value)
 AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More...
 
System::String get_Media () const
 The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results. More...
 
void set_Media (System::String value)
 The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results. More...
 
bool get_IsNoloading () const
 The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More...
 
void set_IsNoloading (bool value)
 The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More...
 
System::String get_On () const
 The on attribute is used to install event handlers on elements. More...
 
void set_On (System::String value)
 The on attribute is used to install event handlers on elements. More...
 
bool get_IsPlaceHolder () const
 The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. More...
 
void set_IsPlaceHolder (bool value)
 The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. More...
 
System::String get_Sizes () const
 The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. More...
 
void set_Sizes (System::String value)
 The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. More...
 
int32_t get_Width () const
 Width of element. More...
 
void set_Width (int32_t value)
 Width of element. More...
 
int32_t get_Height () const
 Height of element. More...
 
void set_Height (int32_t value)
 Height of element. More...
 
virtual System::String ToAmpHtml ()
 Represents amp html version of attributes. More...
 
virtual System::String ToHtml ()
 Represents html version of attributes. More...
 
 AmpAttributes ()
 

Detailed Description

Represents attributes used by the amp-components.

Constructor & Destructor Documentation

◆ AmpAttributes()

Aspose::Email::Amp::AmpAttributes::AmpAttributes ( )

Member Function Documentation

◆ get_Height()

int32_t Aspose::Email::Amp::AmpAttributes::get_Height ( ) const

Height of element.

◆ get_Heigths()

System::String Aspose::Email::Amp::AmpAttributes::get_Heigths ( ) const

The value of this attribute is a sizes expression based on media expressions.

◆ get_IsFallback()

bool Aspose::Email::Amp::AmpAttributes::get_IsFallback ( ) const

Define that current element is fallback.

◆ get_IsNoloading()

bool Aspose::Email::Amp::AmpAttributes::get_IsNoloading ( ) const

The noloading attribute indicates whether the "loading indicator" should be turned off for this element.

◆ get_IsPlaceHolder()

bool Aspose::Email::Amp::AmpAttributes::get_IsPlaceHolder ( ) const

The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.

◆ get_Layout()

LayoutType Aspose::Email::Amp::AmpAttributes::get_Layout ( ) const

AMP provides a set of layouts that specify how an AMP component behaves in the document layout.

◆ get_Media()

System::String Aspose::Email::Amp::AmpAttributes::get_Media ( ) const

The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.

◆ get_On()

System::String Aspose::Email::Amp::AmpAttributes::get_On ( ) const

The on attribute is used to install event handlers on elements.

◆ get_Sizes()

System::String Aspose::Email::Amp::AmpAttributes::get_Sizes ( ) const

The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.

◆ get_Width()

int32_t Aspose::Email::Amp::AmpAttributes::get_Width ( ) const

Width of element.

◆ set_Height()

void Aspose::Email::Amp::AmpAttributes::set_Height ( int32_t  value)

Height of element.

◆ set_Heigths()

void Aspose::Email::Amp::AmpAttributes::set_Heigths ( System::String  value)

The value of this attribute is a sizes expression based on media expressions.

◆ set_IsFallback()

void Aspose::Email::Amp::AmpAttributes::set_IsFallback ( bool  value)

Define that current element is fallback.

◆ set_IsNoloading()

void Aspose::Email::Amp::AmpAttributes::set_IsNoloading ( bool  value)

The noloading attribute indicates whether the "loading indicator" should be turned off for this element.

◆ set_IsPlaceHolder()

void Aspose::Email::Amp::AmpAttributes::set_IsPlaceHolder ( bool  value)

The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.

◆ set_Layout()

void Aspose::Email::Amp::AmpAttributes::set_Layout ( LayoutType  value)

AMP provides a set of layouts that specify how an AMP component behaves in the document layout.

◆ set_Media()

void Aspose::Email::Amp::AmpAttributes::set_Media ( System::String  value)

The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.

◆ set_On()

void Aspose::Email::Amp::AmpAttributes::set_On ( System::String  value)

The on attribute is used to install event handlers on elements.

◆ set_Sizes()

void Aspose::Email::Amp::AmpAttributes::set_Sizes ( System::String  value)

The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.

◆ set_Width()

void Aspose::Email::Amp::AmpAttributes::set_Width ( int32_t  value)

Width of element.

◆ ToAmpHtml()

virtual System::String Aspose::Email::Amp::AmpAttributes::ToAmpHtml ( )
virtual

Represents amp html version of attributes.

Returns

◆ ToHtml()

virtual System::String Aspose::Email::Amp::AmpAttributes::ToHtml ( )
virtual

Represents html version of attributes.

Returns