Represents a picture in a presentation. More...

Inherits Aspose::Slides::PVIObject, Aspose::Slides::ISlidesPicture, and Aspose::Slides::IAccessiblePVIObject< System::SharedPtr< Aspose::Slides::PictureEffectiveDataPVITemp > >.

Public Member Functions

ASPOSE_SLIDES_SHARED_API System::SharedPtr< IPPImageget_Image ()
 Returns the embedded image. Read IPPImage. More...
 
ASPOSE_SLIDES_SHARED_API void set_Image (System::SharedPtr< IPPImage > value)
 Sets the embedded image. Write IPPImage. More...
 
ASPOSE_SLIDES_SHARED_API System::String get_LinkPathLong ()
 Returns of sets linked image's URL. Read System::String. More...
 
ASPOSE_SLIDES_SHARED_API void set_LinkPathLong (System::String value)
 Returns of sets linked image's URL. Write System::String. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< Effects::IImageTransformOperationCollectionget_ImageTransform ()
 Returns the collection of image transform effects. Read-only IImageTransformOperationCollection. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IPresentationget_Presentation ()
 Returns the presentation. Read-only IPresentation. More...
 
ASPOSE_SLIDES_SHARED_API System::SharedPtr< IBaseSlideget_Slide ()
 Returns the parent slide of a picture. Read-only IBaseSlide. More...
 
virtual ASPOSE_SLIDES_SHARED_API bool Equals (System::SharedPtr< System::Object > obj)
 Compares with specified object. More...
 
virtual ASPOSE_SLIDES_SHARED_API int32_t GetHashCode () const
 Returns hash. More...
 
ASPOSE_SLIDES_SHARED_API void SetTemplateWeakPtr (unsigned int argument) override
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API 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...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. 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)
 

Protected Member Functions

System::SharedPtr< PictureImpl > get_RealObject ()
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::PicturePPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
 Picture (System::SharedPtr< IDOMObject > parentImmediate)
 
 Picture (System::SharedPtr< IDOMObject > parentImmediate, System::SharedPtr< PictureEffectiveDataPVITemp > pic)
 
 Picture (System::SharedPtr< BulletFormatEffectiveData > parentImmediate, System::SharedPtr< Picture > pic)
 
virtual ASPOSE_SLIDES_SHARED_API void CreateChildObjects ()
 
virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr< System::ObjectCreateRealObject ()
 
System::SharedPtr< PictureEffectiveDataPVITemp > GetEffective ()
 
void CopyDataFrom (System::SharedPtr< ISlidesPicture > source)
 
void CopyDataFrom (System::SharedPtr< IPictureEffectiveData > source)
 
System::SharedPtr< Aspose::Foundation::ImageCache::ImageCacheInfo > GetTransformedImageImpl (System::SharedPtr< LineParamArguments > arg, System::Drawing::SizeF tileSize, System::SharedPtr< Drawing::RenderContext > rc, System::SharedPtr< IBaseSlide > slide, System::SharedPtr< FloatColor > styleColor, bool cropped)
 
- Protected Member Functions inherited from Aspose::Slides::PVIObject
System::SharedPtr< ObjectWrapper > get_Wrapper () const
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
void set_Parent_Immediate (System::SharedPtr< IDOMObject > value)
 
virtual ASPOSE_SLIDES_SHARED_API uint32_t get_Version ()
 Version. Read-only uint32_t. More...
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 
System::SharedPtr< ISlideComponentget_Parent_ISlideComponent ()
 
System::SharedPtr< IBaseSlideget_Slide ()
 
System::SharedPtr< IPresentationget_Presentation ()
 
 PVIObject (System::SharedPtr< IDOMObject > parentImmediate)
 
void Reset_Parent_IPresentationComponent ()
 

Protected Attributes

System::Event< void()> PictureChanged
 

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

Represents a picture in a presentation.

Constructor & Destructor Documentation

◆ Picture() [1/3]

Aspose::Slides::Picture::Picture ( System::SharedPtr< IDOMObject parentImmediate)
protected

◆ Picture() [2/3]

Aspose::Slides::Picture::Picture ( System::SharedPtr< IDOMObject parentImmediate,
System::SharedPtr< PictureEffectiveDataPVITemp >  pic 
)
protected

◆ Picture() [3/3]

Aspose::Slides::Picture::Picture ( System::SharedPtr< BulletFormatEffectiveData parentImmediate,
System::SharedPtr< Picture pic 
)
protected

Member Function Documentation

◆ CopyDataFrom() [1/2]

void Aspose::Slides::Picture::CopyDataFrom ( System::SharedPtr< ISlidesPicture source)
protected

◆ CopyDataFrom() [2/2]

void Aspose::Slides::Picture::CopyDataFrom ( System::SharedPtr< IPictureEffectiveData source)
protected

◆ CreateChildObjects()

virtual ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Picture::CreateChildObjects ( )
protectedvirtual

◆ CreateRealObject()

virtual ASPOSE_SLIDES_SHARED_API System::SharedPtr<System::Object> Aspose::Slides::Picture::CreateRealObject ( )
protectedvirtual

◆ Equals()

virtual ASPOSE_SLIDES_SHARED_API bool Aspose::Slides::Picture::Equals ( System::SharedPtr< System::Object obj)
virtual

Compares with specified object.

Parameters
objObject to compare.
Returns
True if objects are equal, otherwise false.

Reimplemented from Aspose::Slides::PVIObject.

◆ get_Image()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IPPImage> Aspose::Slides::Picture::get_Image ( )
virtual

Returns the embedded image. Read IPPImage.

Implements Aspose::Slides::ISlidesPicture.

◆ get_ImageTransform()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<Effects::IImageTransformOperationCollection> Aspose::Slides::Picture::get_ImageTransform ( )
virtual

Returns the collection of image transform effects. Read-only IImageTransformOperationCollection.

Implements Aspose::Slides::ISlidesPicture.

◆ get_LinkPathLong()

ASPOSE_SLIDES_SHARED_API System::String Aspose::Slides::Picture::get_LinkPathLong ( )
virtual

Returns of sets linked image's URL. Read System::String.

Implements Aspose::Slides::ISlidesPicture.

◆ get_PPTXUnsupportedProps()

System::SharedPtr<UnsupportedProps::PPTXUnsupportedProps::PicturePPTXUnsupportedProps> Aspose::Slides::Picture::get_PPTXUnsupportedProps ( )
protected

◆ get_Presentation()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IPresentation> Aspose::Slides::Picture::get_Presentation ( )
virtual

Returns the presentation. Read-only IPresentation.

Implements Aspose::Slides::IPresentationComponent.

◆ get_RealObject()

System::SharedPtr<PictureImpl> Aspose::Slides::Picture::get_RealObject ( )
protected

◆ get_Slide()

ASPOSE_SLIDES_SHARED_API System::SharedPtr<IBaseSlide> Aspose::Slides::Picture::get_Slide ( )

Returns the parent slide of a picture. Read-only IBaseSlide.

◆ GetEffective()

System::SharedPtr<PictureEffectiveDataPVITemp> Aspose::Slides::Picture::GetEffective ( )
protected

◆ GetHashCode()

virtual ASPOSE_SLIDES_SHARED_API int32_t Aspose::Slides::Picture::GetHashCode ( ) const
virtual

Returns hash.

Returns
Hash.

Reimplemented from Aspose::Slides::PVIObject.

◆ GetTransformedImageImpl()

System::SharedPtr<Aspose::Foundation::ImageCache::ImageCacheInfo> Aspose::Slides::Picture::GetTransformedImageImpl ( System::SharedPtr< LineParamArguments >  arg,
System::Drawing::SizeF  tileSize,
System::SharedPtr< Drawing::RenderContext >  rc,
System::SharedPtr< IBaseSlide slide,
System::SharedPtr< FloatColor >  styleColor,
bool  cropped 
)
protected

◆ set_Image()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Picture::set_Image ( System::SharedPtr< IPPImage value)
virtual

Sets the embedded image. Write IPPImage.

Implements Aspose::Slides::ISlidesPicture.

◆ set_LinkPathLong()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Picture::set_LinkPathLong ( System::String  value)
virtual

Returns of sets linked image's URL. Write System::String.

Implements Aspose::Slides::ISlidesPicture.

◆ SetTemplateWeakPtr()

ASPOSE_SLIDES_SHARED_API void Aspose::Slides::Picture::SetTemplateWeakPtr ( unsigned int  argument)
overridevirtual

Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

Parameters
argumentIndex of template argument to treat as weak poiner.

Reimplemented from System::Object.

Member Data Documentation

◆ PictureChanged

System::Event<void()> Aspose::Slides::Picture::PictureChanged
protected