Aspose::Slides::IBackground Class Referenceabstract

More...

Inherits Aspose::Slides::ISlideComponent, and Aspose::Slides::IFillParamSource.

Inherited by Aspose::Slides::Background.

Public Member Functions

virtual BackgroundType get_Type ()=0
 Returns a type of background fill. Read BackgroundType. More...
 
virtual void set_Type (BackgroundType value)=0
 Returns a type of background fill. Write BackgroundType. More...
 
virtual System::SharedPtr< IFillFormatget_FillFormat ()=0
 Returns a FillFormat for BackgroundType.OwnBackground fill. Read-only IFillFormat. More...
 
virtual System::SharedPtr< IEffectFormatget_EffectFormat ()=0
 Returns a EffectFormat for BackgroundType.OwnBackground fill. Read-only IEffectFormat. More...
 
virtual System::SharedPtr< IColorFormatget_StyleColor ()=0
 Returns a ColorFormat for a BackgroundType.Themed fill. Read-only IColorFormat. More...
 
virtual uint16_t get_StyleIndex ()=0
 Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read uint16_t. More...
 
virtual void set_StyleIndex (uint16_t value)=0
 Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Write uint16_t. More...
 
virtual System::SharedPtr< IBackgroundEffectiveDataGetEffective ()=0
 Gets effective background data with the inheritance applied. More...
 
- Public Member Functions inherited from Aspose::Slides::ISlideComponent
virtual System::SharedPtr< IBaseSlideget_Slide ()=0
 Returns the base slide. Read-only IBaseSlide. More...
 
- Public Member Functions inherited from Aspose::Slides::IPresentationComponent
virtual System::SharedPtr< IPresentationget_Presentation ()=0
 Returns the presentation. Read-only IPresentation. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Member Function Documentation

◆ get_EffectFormat()

virtual System::SharedPtr<IEffectFormat> Aspose::Slides::IBackground::get_EffectFormat ( )
pure virtual

◆ get_FillFormat()

virtual System::SharedPtr<IFillFormat> Aspose::Slides::IBackground::get_FillFormat ( )
pure virtual

Returns a FillFormat for BackgroundType.OwnBackground fill. Read-only IFillFormat.

Implemented in Aspose::Slides::Background.

◆ get_StyleColor()

virtual System::SharedPtr<IColorFormat> Aspose::Slides::IBackground::get_StyleColor ( )
pure virtual

Returns a ColorFormat for a BackgroundType.Themed fill. Read-only IColorFormat.

Implemented in Aspose::Slides::Background.

◆ get_StyleIndex()

virtual uint16_t Aspose::Slides::IBackground::get_StyleIndex ( )
pure virtual

Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Read uint16_t.

Implemented in Aspose::Slides::Background.

◆ get_Type()

virtual BackgroundType Aspose::Slides::IBackground::get_Type ( )
pure virtual

Returns a type of background fill. Read BackgroundType.

Implemented in Aspose::Slides::Background.

◆ GetEffective()

virtual System::SharedPtr<IBackgroundEffectiveData> Aspose::Slides::IBackground::GetEffective ( )
pure virtual

Gets effective background data with the inheritance applied.

Returns
A IBackgroundEffectiveData.

Implemented in Aspose::Slides::Background.

◆ set_StyleIndex()

virtual void Aspose::Slides::IBackground::set_StyleIndex ( uint16_t  value)
pure virtual

Returns an index of BackgroundType.Themed fill in background theme collection. 0 means no fill. 1..999 - index. Write uint16_t.

Implemented in Aspose::Slides::Background.

◆ set_Type()

virtual void Aspose::Slides::IBackground::set_Type ( BackgroundType  value)
pure virtual

Returns a type of background fill. Write BackgroundType.

Implemented in Aspose::Slides::Background.