Represents a collection of a shapes. More...
Inherits Aspose::Slides::IGenericCollection< System::SharedPtr< Aspose::Slides::IShape > >.
Inherited by Aspose::Slides::ShapeCollection.
Public Member Functions | |
virtual System::SharedPtr< IGroupShape > | get_ParentGroup ()=0 |
Returns parent GroupShape object for a shapes collection. Read-only IGroupShape. More... | |
virtual System::SharedPtr< IShape > | idx_get (int32_t index)=0 |
Gets the element at the specified index. Read-only IShape. More... | |
virtual System::SharedPtr< Charts::IChart > | AddChart (Charts::ChartType type, float x, float y, float width, float height)=0 |
Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection. More... | |
virtual System::SharedPtr< Charts::IChart > | AddChart (Charts::ChartType type, float x, float y, float width, float height, bool initWithSample)=0 |
Creates a new Chart and adds it to the end of the collection. More... | |
virtual System::SharedPtr< SmartArt::ISmartArt > | AddSmartArt (float x, float y, float width, float height, SmartArt::SmartArtLayoutType layoutType)=0 |
Add SmartArt diagram. More... | |
virtual System::SharedPtr< Charts::IChart > | InsertChart (Charts::ChartType type, float x, float y, float width, float height, int32_t index)=0 |
Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection. More... | |
virtual System::SharedPtr< Charts::IChart > | InsertChart (Charts::ChartType type, float x, float y, float width, float height, int32_t index, bool initWithSample)=0 |
Creates a new Chart and inserts it to the specified position in the collection. More... | |
virtual System::SharedPtr< IOleObjectFrame > | AddOleObjectFrame (float x, float y, float width, float height, System::SharedPtr< IOleEmbeddedDataInfo > dataInfo)=0 |
Adds a new OLE object to the end of a collection. More... | |
virtual System::SharedPtr< IOleObjectFrame > | AddOleObjectFrame (float x, float y, float width, float height, System::String className, System::String path)=0 |
Adds a new OLE object to the end of a collection. More... | |
virtual System::SharedPtr< IOleObjectFrame > | InsertOleObjectFrame (int32_t index, float x, float y, float width, float height, System::SharedPtr< IOleEmbeddedDataInfo > dataInfo)=0 |
Creates a new OLE object and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IOleObjectFrame > | InsertOleObjectFrame (int32_t index, float x, float y, float width, float height, System::String className, System::String path)=0 |
Creates a new OLE object and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IZoomFrame > | AddZoomFrame (float x, float y, float width, float height, System::SharedPtr< ISlide > slide)=0 |
Adds a new Zoom object to the end of a collection. More... | |
virtual System::SharedPtr< IZoomFrame > | AddZoomFrame (float x, float y, float width, float height, System::SharedPtr< ISlide > slide, System::SharedPtr< IPPImage > image)=0 |
Adds a new Zoom object to the end of a collection. More... | |
virtual System::SharedPtr< IZoomFrame > | InsertZoomFrame (int32_t index, float x, float y, float width, float height, System::SharedPtr< ISlide > slide)=0 |
Creates a new Zoom object and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IZoomFrame > | InsertZoomFrame (int32_t index, float x, float y, float width, float height, System::SharedPtr< ISlide > slide, System::SharedPtr< IPPImage > image)=0 |
Creates a new Zoom object and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IVideoFrame > | AddVideoFrame (float x, float y, float width, float height, System::String fname)=0 |
Adds a new video frame to the end of a collection. More... | |
virtual System::SharedPtr< IVideoFrame > | AddVideoFrame (float x, float y, float width, float height, System::SharedPtr< IVideo > video)=0 |
Adds a new video frame to the end of a collection. More... | |
virtual System::SharedPtr< IVideoFrame > | InsertVideoFrame (int32_t index, float x, float y, float width, float height, System::String fname)=0 |
Creates a new video frame and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IAudioFrame > | AddAudioFrameCD (float x, float y, float width, float height)=0 |
Adds an AudioFrame with CD to the end of collection. More... | |
virtual System::SharedPtr< IAudioFrame > | InsertAudioFrameCD (int32_t index, float x, float y, float width, float height)=0 |
Insert an AudioFrame with CD. More... | |
virtual System::SharedPtr< IAudioFrame > | AddAudioFrameLinked (float x, float y, float width, float height, System::String fname)=0 |
Adds a new audio frame with linked audio file to the end of a collection. More... | |
virtual System::SharedPtr< IAudioFrame > | InsertAudioFrameLinked (int32_t index, float x, float y, float width, float height, System::String fname)=0 |
Creates a new audio frame with linked audio file and inserts it to a collection at the specified index. More... | |
virtual System::SharedPtr< IAudioFrame > | AddAudioFrameEmbedded (float x, float y, float width, float height, System::SharedPtr< System::IO::Stream > audio_stream)=0 |
Adds a new audio frame with embedded audio file to the end of a collection. Embedded audio file can be a WAV only. It adds new audio into Presentation.Audios list. More... | |
virtual System::SharedPtr< IAudioFrame > | AddAudioFrameEmbedded (float x, float y, float width, float height, System::SharedPtr< IAudio > audio)=0 |
Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list. More... | |
virtual System::SharedPtr< IAudioFrame > | InsertAudioFrameEmbedded (int32_t index, float x, float y, float width, float height, System::SharedPtr< System::IO::Stream > audio_stream)=0 |
Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only. It adds new audio into Presentation.Audios list. More... | |
virtual System::SharedPtr< IAudioFrame > | InsertAudioFrameEmbedded (int32_t index, float x, float y, float width, float height, System::SharedPtr< IAudio > audio)=0 |
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list. More... | |
virtual int32_t | IndexOf (System::SharedPtr< IShape > shape)=0 |
Returns the zero-based index of the first occurrence of a shape in the collection. More... | |
virtual System::ArrayPtr< System::SharedPtr< IShape > > | ToArray ()=0 |
Creates and returns an array with all shapse in it. More... | |
virtual System::ArrayPtr< System::SharedPtr< IShape > > | ToArray (int32_t startIndex, int32_t count)=0 |
Creates and returns an array with all shapes from the specified range in it. More... | |
virtual void | Reorder (int32_t index, System::SharedPtr< IShape > shape)=0 |
Moves a shape from the collection to the specified position. More... | |
virtual void | Reorder (int32_t index, const System::ArrayPtr< System::SharedPtr< IShape >> &shapes)=0 |
Moves shapes from the collection to the specified position. Shapes will be placed starting from index in order they appear in list. More... | |
virtual System::SharedPtr< IAutoShape > | AddAutoShape (ShapeType shapeType, float x, float y, float width, float height)=0 |
Creates a new AutoShape, tunes it from default template and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IAutoShape > | AddAutoShape (ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)=0 |
Creates a new AutoShape and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IAutoShape > | AddMathShape (float x, float y, float width, float height)=0 |
Creates a new AutoShape of the type Rectangle to host mathematical content inside and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IAutoShape > | InsertAutoShape (int32_t index, ShapeType shapeType, float x, float y, float width, float height)=0 |
Creates a new AutoShape, tunes it from default template and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter. More... | |
virtual System::SharedPtr< IAutoShape > | InsertAutoShape (int32_t index, ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)=0 |
Creates a new AutoShape and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter. More... | |
virtual System::SharedPtr< IGroupShape > | AddGroupShape ()=0 |
Creates a new GroupShape and adds it to the end of the collection. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape. More... | |
virtual System::SharedPtr< IGroupShape > | AddGroupShape (System::SharedPtr< ISvgImage > svgImage, float x, float y, float width, float height)=0 |
Creates a new GroupShape, fills it with converted shapes from SVG and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IGroupShape > | InsertGroupShape (int32_t index)=0 |
Creates a new GroupShape and inserts it to the collection at the specified index. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape. More... | |
virtual System::SharedPtr< IConnector > | AddConnector (ShapeType shapeType, float x, float y, float width, float height)=0 |
Creates a new Connector, tunes it from default template and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IConnector > | AddConnector (ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)=0 |
Creates a new Connector and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IConnector > | InsertConnector (int32_t index, ShapeType shapeType, float x, float y, float width, float height)=0 |
Creates a new Connector, tunes it from default template and inserts it to the collection at the specified index. More... | |
virtual System::SharedPtr< IConnector > | InsertConnector (int32_t index, ShapeType shapeType, float x, float y, float width, float height, bool createFromTemplate)=0 |
Creates a new Connector and inserts it to the collection at the specified index. More... | |
virtual System::SharedPtr< IPictureFrame > | AddPictureFrame (ShapeType shapeType, float x, float y, float width, float height, System::SharedPtr< IPPImage > image)=0 |
Creates a new PictureFrame and adds it to the end of the collection. More... | |
virtual System::SharedPtr< IPictureFrame > | InsertPictureFrame (int32_t index, ShapeType shapeType, float x, float y, float width, float height, System::SharedPtr< IPPImage > image)=0 |
Creates a new PictureFrame and inserts it to the collection at the specified index. More... | |
virtual System::SharedPtr< ITable > | AddTable (float x, float y, System::ArrayPtr< double > columnWidths, System::ArrayPtr< double > rowHeights)=0 |
Creates a new Table and adds it to the end of the collection. More... | |
virtual System::SharedPtr< ITable > | InsertTable (int32_t index, float x, float y, System::ArrayPtr< double > columnWidths, System::ArrayPtr< double > rowHeights)=0 |
Creates a new Table and inserts it to the collection at the specified index. More... | |
virtual void | RemoveAt (int32_t index)=0 |
Removes the element at the specified index of the collection. More... | |
virtual void | Remove (System::SharedPtr< IShape > shape)=0 |
Removes the first occurrence of a specific shape from the collection. More... | |
virtual void | Clear ()=0 |
Removes all shapes from the collection. More... | |
virtual System::SharedPtr< IShape > | AddClone (System::SharedPtr< IShape > sourceShape, float x, float y, float width, float height)=0 |
Adds a copy of a specified shape to the end of the collection. More... | |
virtual System::SharedPtr< IShape > | AddClone (System::SharedPtr< IShape > sourceShape, float x, float y)=0 |
Adds a copy of a specified shape to the end of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape . More... | |
virtual System::SharedPtr< IShape > | AddClone (System::SharedPtr< IShape > sourceShape)=0 |
Adds a copy of a specified shape to the end of the collection. X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the sourceShape . More... | |
virtual System::SharedPtr< IShape > | InsertClone (int32_t index, System::SharedPtr< IShape > sourceShape, float x, float y, float width, float height)=0 |
Inserts a copy of a specified shape to specified position of the collection. More... | |
virtual System::SharedPtr< IShape > | InsertClone (int32_t index, System::SharedPtr< IShape > sourceShape, float x, float y)=0 |
Inserts a copy of a specified shape to specified position of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape . More... | |
virtual System::SharedPtr< IShape > | InsertClone (int32_t index, System::SharedPtr< IShape > sourceShape)=0 |
Inserts a copy of a specified shape to specified position of the collection. X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the sourceShape . More... | |
![]() | |
virtual int32_t | get_Count ()=0 |
Returns the number of behaviors in a collection. Read-only int32_t. More... | |
virtual System::SharedPtr< System::Object > | get_SyncRoot ()=0 |
Returns a synchronization root. Read-only System::Object. More... | |
virtual bool | get_IsSynchronized ()=0 |
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only bool. More... | |
virtual void | CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Slides::IShape > > array, int32_t index)=0 |
Copies all elements from the collection into the specified array. More... | |
![]() | |
virtual SharedPtr< IEnumerator< T > > | GetEnumerator ()=0 |
Gets enumerator. More... | |
T | LINQ_ElementAt (int index) |
Returns the element at a specified index in a sequence. More... | |
T | LINQ_First () |
Returns the first element of a sequence. More... | |
T | LINQ_First (const Func< T, bool > &predicate) |
Returns the first element of a sequence that satisfy the specified condition. More... | |
T | LINQ_FirstOrDefault () |
Returns the first element of a sequence, or a default value if the sequence is empty. More... | |
T | LINQ_FirstOrDefault (std::function< bool(T)> predicate) |
Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. More... | |
T | LINQ_Last () |
Returns the last element of a sequence. More... | |
T | LINQ_LastOrDefault () |
Returns the last element of a sequence, or a default value if the sequence is empty. More... | |
SharedPtr< List< T > > | LINQ_ToList () |
Creates a List<T> from a sequence. More... | |
int | LINQ_Count () |
Returns the number of elements in the sequence (calculated via direct counting). More... | |
int | LINQ_Count (const Func< T, bool > &predicate) |
Returns the number of elements in the sequence that satisfy the specified condition. More... | |
System::ArrayPtr< T > | LINQ_ToArray () |
Creates an array from a sequence. More... | |
bool | LINQ_All (std::function< bool(T)> predicate) |
Determines whether all elements of a sequence satisfy a condition. More... | |
bool | LINQ_Any () |
Determines whether a sequence contains any elements. More... | |
bool | LINQ_Any (std::function< bool(T)> predicate) |
Determines whether any element of a sequence exists or satisfies a condition. More... | |
SharedPtr< IEnumerable< T > > | LINQ_Where (std::function< bool(T)> predicate) |
Filters a sequence based on the specified predicate. More... | |
bool | LINQ_Contains (T value) |
Determines if a sequence contains a specified value. More... | |
template<typename ResultType > | |
SharedPtr< IEnumerable< ResultType > > | LINQ_Cast () |
Casts the elements to the specified type. More... | |
template<typename Key > | |
SharedPtr< IEnumerable< T > > | LINQ_OrderBy (const Func< T, Key > &keySelector) |
Sorts the elements of a sequence in ascending order according to the key values selected by keySelector. More... | |
template<typename Key > | |
SharedPtr< IEnumerable< T > > | LINQ_OrderByDescending (const Func< T, Key > &keySelector) |
Sorts the elements of a sequence in descending order according to the key values selected by keySelector. More... | |
template<typename ResultType > | |
SharedPtr< IEnumerable< ResultType > > | LINQ_OfType () |
Filters the elements of the sequence based on the specified type. More... | |
template<typename ResultType > | |
SharedPtr< IEnumerable< ResultType > > | LINQ_Select (const Func< T, ResultType > &selector) |
Transforms elements of a sequence. More... | |
template<typename ResultType > | |
SharedPtr< IEnumerable< ResultType > > | LINQ_Select (const Func< T, int32_t, ResultType > &selector) |
Transforms each element of a sequence into a new form by incorporating the element's index. More... | |
SharedPtr< IEnumerable< T > > | LINQ_Concat (SharedPtr< IEnumerable< T >> sequence) |
Concatenates two sequences. More... | |
template<typename Key > | |
System::SharedPtr< IEnumerable< System::SharedPtr< System::Linq::IGrouping< Key, T > > > > | LINQ_GroupBy (System::Func< T, Key > keyPredicate) |
Groups the elements of a sequence. More... | |
template<typename ResultType > | |
SharedPtr< IEnumerable< ResultType > > | LINQ_SelectMany (const Func< T, SharedPtr< IEnumerable< ResultType >>> &selector) |
Projects each element of a sequence and combines the resulting sequences into one sequence. More... | |
iterator | begin () noexcept |
Gets iterator pointing to the first element (if any) of the collection. This iterator can't be used to change a referenced object because GetEnumerator() returns a copy-object of T. More... | |
iterator | end () noexcept |
Gets iterator pointing right after the last element (if any) of the collection. This iterator can't be used to change a referenced object because GetEnumerator() returns a copy-object of T. More... | |
const_iterator | begin () const noexcept |
Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection. More... | |
const_iterator | end () const noexcept |
Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection. More... | |
const_iterator | cbegin () const noexcept |
Gets iterator pointing to the first const-qualified element (if any) of the collection. More... | |
const_iterator | cend () const noexcept |
Gets iterator pointing right after the last const-qualified element (if any) of the collection. More... | |
template<typename Result > | |
SharedPtr< IEnumerable< Result > > | LINQ_Cast () |
template<typename Result > | |
SharedPtr< IEnumerable< Result > > | LINQ_OfType () |
template<typename Result > | |
SharedPtr< IEnumerable< Result > > | LINQ_Select (const Func< Source, Result > &selector) |
template<typename Result > | |
SharedPtr< IEnumerable< Result > > | LINQ_Select (const Func< Source, int32_t, Result > &selector) |
template<typename Key > | |
SharedPtr< IEnumerable< Source > > | LINQ_OrderBy (const Func< Source, Key > &keySelector) |
template<typename Key > | |
SharedPtr< IEnumerable< Source > > | LINQ_OrderByDescending (const Func< Source, Key > &keySelector) |
template<typename Key > | |
SharedPtr< IEnumerable< SharedPtr< System::Linq::IGrouping< Key, Source > > > > | LINQ_GroupBy (System::Func< Source, Key > keyPredicate) |
template<typename Result > | |
SharedPtr< IEnumerable< Result > > | LINQ_SelectMany (const Func< Source, SharedPtr< IEnumerable< Result >>> &selector) |
![]() | |
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... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
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 reference 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 int32_t | GetHashCode () const |
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More... | |
virtual String | ToString () 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 TypeInfo & | GetType () 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 (uint32_t argument) |
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More... | |
virtual bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
For internal purposes only. More... | |
template<> | |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
Specialization of Object::ReferenceEquals for case of string and nullptr. More... | |
template<> | |
bool | ReferenceEquals (String const &str1, String const &str2) |
Specialization of Object::ReferenceEquals for case of strings. More... | |
Additional Inherited Members | |
![]() | |
typedef IEnumerator< T > | IEnumeratorType |
Enumerator type. More... | |
using | ValueType = T |
using | iterator = EnumeratorBasedIterator< T, IEnumerator< T > > |
using | const_iterator = iterator |
![]() | |
typedef SmartPtr< Object > | ptr |
Alias for smart pointer type. More... | |
![]() | |
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 TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
template<> | |
bool | Equals (float const &objA, float const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
template<> | |
bool | Equals (double const &objA, double const &objB) |
Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More... | |
![]() | |
~IEnumerable () override | |
Destructor. More... | |
Represents a collection of a shapes.
|
pure virtual |
Adds an AudioFrame with CD to the end of collection.
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
audio | Audio from Presentation.Audios list. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new audio frame with embedded audio file to the end of a collection. Embedded audio file can be a WAV only. It adds new audio into Presentation.Audios list.
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
audio_stream | Inout stream with audio data. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new audio frame with linked audio file to the end of a collection.
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
fname | Audio file name. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new AutoShape, tunes it from default template and adds it to the end of the collection.
shapeType | The ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new AutoShape and adds it to the end of the collection.
shapeType | The ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
createFromTemplate | If true then new shape will be tuned from default template. Not empty name, simple style, text centered will be assined to the new shape. If false then all values of the properties of the new shape will have default values. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection.
type | Type of chart. |
x | X coordinate of a new chart. |
y | Y coordinate of a new chart. |
width | Chart's width. |
height | Chart's height. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Chart and adds it to the end of the collection.
type | Type of chart. |
x | X coordinate of a new chart. |
y | Y coordinate of a new chart. |
width | Chart's width. |
height | Chart's height. |
initWithSample | If true then new chart will be initialized with sample series data and settings. If false then new chart will have no series and minimum settings. In this case chart creation will be more fast. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a copy of a specified shape to the end of the collection. X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the sourceShape .
sourceShape | Shape to clone. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a copy of a specified shape to the end of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape .
sourceShape | Shape to clone. |
x | X coordinate of a new shape. |
y | Y coordinate of a new shape. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a copy of a specified shape to the end of the collection.
sourceShape | Shape to clone. |
x | X coordinate of a new shape. |
y | Y coordinate of a new shape. |
width | Width of a new shape. |
height | Height of a new shape. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Connector, tunes it from default template and adds it to the end of the collection.
shapeType | The ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
The zero-based index of the created shape.
Created Connector object.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Connector and adds it to the end of the collection.
shapeType | The ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
createFromTemplate | If true then new shape will be tuned from default template. Not empty name, simple style, text centered will be assined to the new shape. If false then all values of the properties of the new shape will have default values. |
The zero-based index of the created shape.
Created Connector object.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new GroupShape and adds it to the end of the collection. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new GroupShape, fills it with converted shapes from SVG and adds it to the end of the collection.
svgImage | Svg image object ISvgImage |
x | The X coordinate for the left side of the shape group frame. |
y | The Y coordinate for the top side of the shape group frame. |
width | The width of the group of the shape group frame. |
height | The height of a group of the shape group frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new AutoShape of the type Rectangle to host mathematical content inside and adds it to the end of the collection.
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new OLE object to the end of a collection.
x | X coordinate of a new OLE frame. |
y | Y coordinate of a new OLE frame. |
width | Width of a new OLE frame. |
height | Height of a new OLE frame. |
dataInfo | Embedded data info IOleEmbeddedDataInfo. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new OLE object to the end of a collection.
x | X coordinate of a new OLE frame. |
y | Y coordinate of a new OLE frame. |
width | Width of a new OLE frame. |
height | Height of a new OLE frame. |
className | Name of an OLE class. |
path | path to the linked file. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new PictureFrame and adds it to the end of the collection.
shapeType | The shape contained in the set ShapeType of shapes, except all sorts of lines:ShapeType::Line,ShapeType::StraightConnector1,ShapeType::BentConnector2,ShapeType::BentConnector3,ShapeType::BentConnector4,ShapeType::BentConnector5,ShapeType::CurvedConnector2,ShapeType::CurvedConnector3,ShapeType::CurvedConnector4,ShapeType::CurvedConnector5. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
image | The image of picture frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Add SmartArt diagram.
x | The X-coordinate for a left side of diagram's frame. |
y | The Y-coordinate for a left side of diagram's frame. |
width | The width of diagram's frame. |
height | The height of diagram's frame. |
layoutType | The type of SmartArt diagram |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Table and adds it to the end of the collection.
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
columnWidths | Array of doubles which represents widths of columns in the table. |
rowHeights | Array of doubles which represents heights of rows in the table. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new video frame to the end of a collection.
x | X coordinate of a new video frame. |
y | Y coordinate of a new video frame. |
width | Width of a new video frame. |
height | Height of a new video frame. |
video | Video. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new video frame to the end of a collection.
x | X coordinate of a new video frame. |
y | Y coordinate of a new video frame. |
width | Width of a new video frame. |
height | Height of a new video frame. |
fname | Video file name. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new Zoom object to the end of a collection.
This example demonstrates adding a Zoom object to the end of a collection (assume that there are at least two slides in the "Presentation.pptx" presentation):
x | X coordinate of a new Zoom frame float. |
y | Y coordinate of a new Zoom frame float. |
width | Width of a new Zoom frame float. |
height | Height of a new Zoom frame float. |
slide | The slide object referenced by the Zoom frame ISlide. |
System::ArgumentException | Referenced slide does not belong to the current presentation. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Adds a new Zoom object to the end of a collection.
This example demonstrates adding a Zoom object to the end of a collection (assume that there are at least two slides in the "Presentation.pptx" presentation):
x | X coordinate of a new Zoom frame float. |
y | Y coordinate of a new Zoom frame float. |
width | Width of a new Zoom frame float. |
height | Height of a new Zoom frame float. |
slide | The slide object referenced by the Zoom frame ISlide. |
image | The image for the referenced slide IPPImage |
System::ArgumentException | Referenced slide does not belong to the current presentation. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Removes all shapes from the collection.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Returns parent GroupShape object for a shapes collection. Read-only IGroupShape.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Gets the element at the specified index. Read-only IShape.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Returns the zero-based index of the first occurrence of a shape in the collection.
shape | The shape to locate in the collection. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Insert an AudioFrame with CD.
index | The zero-based index at which video frame should be inserted. |
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.
index | The zero-based index at which value should be inserted. |
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
audio | Audio from Presentation.Audios list. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only. It adds new audio into Presentation.Audios list.
index | The zero-based index at which value should be inserted. |
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
audio_stream | Audio stream. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new audio frame with linked audio file and inserts it to a collection at the specified index.
index | The zero-based index at which audio frame should be inserted. |
x | X coordinate of a new audio frame. |
y | Y coordinate of a new audio frame. |
width | Width of a new audio frame. |
height | Height of a new audio frame. |
fname | Audio file name. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new AutoShape, tunes it from default template and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter.
index | The zero-based index at which value should be inserted. |
shapeType | An ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new AutoShape and inserts it to the collection at the specified index. Note: the type of the shape will be determined by the shapeType parameter.
index | The zero-based index at which value should be inserted. |
shapeType | An ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
createFromTemplate | If true then new shape will be tuned from default template. Not empty name, simple style, text centered will be assined to the new shape. If false then all values of the properties of the new shape will have default values. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection.
type | Type of chart. |
x | X coordinate of a new chart. |
y | Y coordinate of a new chart. |
width | Chart's width. |
height | Chart's height. |
index | Chart's position in the collection. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Chart and inserts it to the specified position in the collection.
type | Type of chart. |
x | X coordinate of a new chart. |
y | Y coordinate of a new chart. |
width | Chart's width. |
height | Chart's height. |
index | Chart's position in the collection. |
initWithSample | If true then new chart will be initialized with sample series data and settings. If false then new chart will have no series and minimum settings. In this case chart creation will be more fast. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Inserts a copy of a specified shape to specified position of the collection. X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the sourceShape .
index | Index of new shape. |
sourceShape | Shape to clone. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Inserts a copy of a specified shape to specified position of the collection. Width and Height of the new shape are equal to Width and Height of the sourceShape .
index | Index of new shape. |
sourceShape | Shape to clone. |
x | X coordinate of a new shape. |
y | Y coordinate of a new shape. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Inserts a copy of a specified shape to specified position of the collection.
index | Index of new shape. |
sourceShape | Shape to clone. |
x | X coordinate of a new shape. |
y | Y coordinate of a new shape. |
width | Width of a new shape. |
height | Height of a new shape. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Connector, tunes it from default template and inserts it to the collection at the specified index.
index | The zero-based index at which value should be inserted. |
shapeType | An ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Connector and inserts it to the collection at the specified index.
index | The zero-based index at which value should be inserted. |
shapeType | An ShapeType of shape. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
createFromTemplate | If true then new shape will be tuned from default template. Not empty name, simple style, text centered will be assined to the new shape. If false then all values of the properties of the new shape will have default values. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new GroupShape and inserts it to the collection at the specified index. GroupShape frame size and position will be fitted to content when new shape will be added into the GroupShape.
index | The zero-based index at which value should be inserted. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new OLE object and inserts it to a collection at the specified index.
index | The zero-based index at which OLE object should be inserted. |
x | X coordinate of a new OLE frame. |
y | Y coordinate of a new OLE frame. |
width | Width of a new OLE frame. |
height | Height of a new OLE frame. |
dataInfo | Embedded data info IOleEmbeddedDataInfo. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new OLE object and inserts it to a collection at the specified index.
index | The zero-based index at which OLE object should be inserted. |
x | X coordinate of a new OLE frame. |
y | Y coordinate of a new OLE frame. |
width | Width of a new OLE frame. |
height | Height of a new OLE frame. |
className | Name of an OLE class. |
path | Path to the linked file. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new PictureFrame and inserts it to the collection at the specified index.
index | The zero-based index at which value should be inserted. |
shapeType | The shape contained in the set ShapeType of shapes, except all sorts of lines:ShapeType::Line,ShapeType::StraightConnector1,ShapeType::BentConnector2,ShapeType::BentConnector3,ShapeType::BentConnector4,ShapeType::BentConnector5,ShapeType::CurvedConnector2,ShapeType::CurvedConnector3,ShapeType::CurvedConnector4,ShapeType::CurvedConnector5. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
width | The width of shape's frame. |
height | The height of shape's frame. |
image | The image of picture frame. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Table and inserts it to the collection at the specified index.
index | The zero-based index at which value should be inserted. |
x | The X-coordinate for a left side of shape's frame. |
y | The Y-coordinate for a top side of shape's frame. |
columnWidths | Array of doubles which represents widths of columns in the table. |
rowHeights | Array of doubles which represents heights of rows in the table. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new video frame and inserts it to a collection at the specified index.
index | The zero-based index at which video frame should be inserted. |
x | X coordinate of a new video frame. |
y | Y coordinate of a new video frame. |
width | Width of a new video frame. |
height | Height of a new video frame. |
fname | Video file name. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Zoom object and inserts it to a collection at the specified index.
This example demonstrates creation and inserting a Zoom object at the specified index of a collection (assume that there are at least two slides in the "Presentation.pptx" presentation):
index | The zero-based index at which Zoom frame should be inserted. |
x | X coordinate of a new Zoom frame float. |
y | Y coordinate of a new Zoom frame float. |
width | Width of a new Zoom frame float. |
height | Height of a new Zoom frame float. |
slide | The slide object referenced by the Zoom frame ISlide. |
System::ArgumentException | Referenced slide does not belong to the current presentation. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates a new Zoom object and inserts it to a collection at the specified index.
This example demonstrates creation and inserting a Zoom object at the specified index of a collection (assume that there are at least two slides in the "Presentation.pptx" presentation):
index | The zero-based index at which Zoom frame should be inserted. |
x | X coordinate of a new Zoom frame float. |
y | Y coordinate of a new Zoom frame float. |
width | Width of a new Zoom frame float. |
height | Height of a new Zoom frame float. |
slide | The slide object referenced by the Zoom frame ISlide. |
image | The image for the referenced slide IPPImage |
System::ArgumentException | Referenced slide does not belong to the current presentation. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Removes the first occurrence of a specific shape from the collection.
shape | The shape to remove from the collection. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Removes the element at the specified index of the collection.
index | The zero-based index of the element to remove. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Moves shapes from the collection to the specified position. Shapes will be placed starting from index in order they appear in list.
index | Target index. |
shapes | Shapes to move. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Moves a shape from the collection to the specified position.
index | Target index. |
shape | Shape to move. |
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates and returns an array with all shapse in it.
Implemented in Aspose::Slides::ShapeCollection.
|
pure virtual |
Creates and returns an array with all shapes from the specified range in it.
startIndex | An index of a first shape to return. |
count | A number of shapes to return. |
Implemented in Aspose::Slides::ShapeCollection.