ShapeCollection class
Contents
[
Hide
]ShapeCollection class
Represents a collection of a shapes.
The ShapeCollection type exposes the following members:
Properties
Property | Description |
---|---|
parent_group | Returns parent GroupShape object for a shapes collection. Read-only IGroupShape . |
Gets the element at the specified index.
Read-only IShape
.
Indexer
Name | Description |
---|---|
[index] |
Methods
Method | Description |
---|---|
add_chart | Creates a new Chart, initialize it with sample series data and settings and adds it to the end of the collection. |
add_chart | Creates a new Chart and adds it to the end of the collection. |
insert_chart | Creates a new Chart, initialize it with sample series data and settings and inserts it to the specified position in the collection. |
insert_chart | Creates a new Chart and inserts it to the specified position in the collection. |
add_zoom_frame | Adds a new Zoom object to the end of a collection. |
add_zoom_frame | Adds a new Zoom object to the end of a collection. |
insert_zoom_frame | Creates a new Zoom object and inserts it to a collection at the specified index. |
insert_zoom_frame | Creates a new Zoom object and inserts it to a collection at the specified index. |
add_section_zoom_frame | Adds a new Section Zoom object to the end of a collection. |
add_section_zoom_frame | Adds a new Section Zoom object to the end of a collection with a predefined image. |
insert_section_zoom_frame | Creates a new Section Zoom object and inserts into to a collection at the specified index. |
insert_section_zoom_frame | Creates a new Section Zoom object and inserts it to a collection at the specified index. |
add_ole_object_frame | Adds a new OLE object to the end of a collection. |
add_ole_object_frame | Adds a new OLE object to the end of a collection. |
insert_ole_object_frame | Creates a new OLE object and inserts it to a collection at the specified index. |
insert_ole_object_frame | Creates a new OLE object and inserts it to a collection at the specified index. |
add_video_frame | Adds a new video frame to the end of a collection. |
add_video_frame | Adds a new video frame to the end of a collection. |
add_audio_frame_embedded | 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. |
add_audio_frame_embedded | Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list. |
insert_audio_frame_embedded | Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only. |
insert_audio_frame_embedded | Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list. |
to_array | Creates and returns an array with all shapse in it. |
to_array | Creates and returns an array with all shapes from the specified range in it. An index of a first shape to return.A number of shapes to return. |
reorder | Moves a shape from the collection to the specified position. |
reorder | Moves shapes from the collection to the specified position. Shapes will be placed starting from index in order they appear in list. |
add_auto_shape | Creates a new AutoShape, tunes it from default template and adds it to the end of the collection. |
add_auto_shape | Creates a new AutoShape and adds it to the end of the collection. |
insert_auto_shape | 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. |
insert_auto_shape | 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. |
add_group_shape | 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. |
add_group_shape | Creates a new GroupShape, fills it with converted shapes from SVG and adds it to the end of the collection. |
add_connector | Creates a new Connector, tunes it from default template and adds it to the end of the collection. |
add_connector | Creates a new Connector and adds it to the end of the collection. |
insert_connector | Creates a new Connector, tunes it from default template and inserts it to the collection at the specified index. |
insert_connector | Creates a new Connector and inserts it to the collection at the specified index. |
add_clone | Adds a copy of a specified shape to the end of the collection. |
add_clone | 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 source_shape . |
add_clone | 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 source_shape . |
insert_clone | Inserts a copy of a specified shape to specified position of the collection. |
insert_clone | 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 source_shape . |
insert_clone | 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 source_shape . |
add_smart_art | Add SmartArt diagram. |
add_summary_zoom_frame | Adds a new Summary Zoom object to the end of a collection. |
insert_summary_zoom_frame | Creates a new Summary Zoom object and inserts it to a collection at the specified index. |
insert_video_frame | Creates a new video frame and inserts it to a collection at the specified index. |
add_audio_frame_cd | Adds an AudioFrame with CD to the end of collection. |
insert_audio_frame_cd | Insert an AudioFrame with CD. |
add_audio_frame_linked | Adds a new audio frame with linked audio file to the end of a collection. |
insert_audio_frame_linked | Creates a new audio frame with linked audio file and inserts it to a collection at the specified index. |
index_of | Returns the zero-based index of the first occurrence of a shape in the collection. |
add_math_shape | Creates a new Autoshape tuned from default template to math content and adds it to the end of the collection. |
insert_group_shape | 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. |
add_picture_frame | Creates a new PictureFrame and adds it to the end of the collection. |
insert_picture_frame | Creates a new PictureFrame and inserts it to the collection at the specified index. |
add_table | Creates a new Table and adds it to the end of the collection. |
insert_table | Creates a new Table and inserts it to the collection at the specified index. |
remove_at | Removes the element at the specified index of the collection. |
remove | Removes the first occurrence of a specific shape from the collection. |
clear | Removes all shapes from the collection. |
See Also
- class
IShape
- module
aspose.slides
- library
Aspose.Slides