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

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

Inherits Object.

Public Member Functions

ASPOSE_EMAIL_SHARED_API bool get_IsFallback () const
 Define that current element is fallback. More...
 
ASPOSE_EMAIL_SHARED_API void set_IsFallback (bool value)
 Define that current element is fallback. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Heigths () const
 The value of this attribute is a sizes expression based on media expressions. More...
 
ASPOSE_EMAIL_SHARED_API void set_Heigths (System::String value)
 The value of this attribute is a sizes expression based on media expressions. More...
 
ASPOSE_EMAIL_SHARED_API LayoutType get_Layout () const
 AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More...
 
ASPOSE_EMAIL_SHARED_API void set_Layout (LayoutType value)
 AMP provides a set of layouts that specify how an AMP component behaves in the document layout. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API bool get_IsNoloading () const
 The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More...
 
ASPOSE_EMAIL_SHARED_API void set_IsNoloading (bool value)
 The noloading attribute indicates whether the "loading indicator" should be turned off for this element. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_On () const
 The on attribute is used to install event handlers on elements. More...
 
ASPOSE_EMAIL_SHARED_API void set_On (System::String value)
 The on attribute is used to install event handlers on elements. More...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API 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...
 
ASPOSE_EMAIL_SHARED_API int32_t get_Width () const
 Width of element. More...
 
ASPOSE_EMAIL_SHARED_API void set_Width (int32_t value)
 Width of element. More...
 
ASPOSE_EMAIL_SHARED_API int32_t get_Height () const
 Height of element. More...
 
ASPOSE_EMAIL_SHARED_API void set_Height (int32_t value)
 Height of element. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToAmpHtml ()
 Represents amp html version of attributes. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToHtml ()
 Represents html version of attributes. More...
 
ASPOSE_EMAIL_SHARED_API AmpAttributes ()
 

Detailed Description

Represents attributes used by the amp-components.

Constructor & Destructor Documentation

◆ AmpAttributes()

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

Member Function Documentation

◆ get_Height()

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

Height of element.

◆ get_Heigths()

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

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

◆ get_IsFallback()

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

Define that current element is fallback.

◆ get_IsNoloading()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

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

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

◆ get_Sizes()

ASPOSE_EMAIL_SHARED_API 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()

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

Width of element.

◆ set_Height()

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

Height of element.

◆ set_Heigths()

ASPOSE_EMAIL_SHARED_API 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()

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

Define that current element is fallback.

◆ set_IsNoloading()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

ASPOSE_EMAIL_SHARED_API 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()

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

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

◆ set_Sizes()

ASPOSE_EMAIL_SHARED_API 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()

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

Width of element.

◆ ToAmpHtml()

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

Represents amp html version of attributes.

Returns

◆ ToHtml()

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

Represents html version of attributes.

Returns