remove_at method
remove_at
Removes the element at the specified index of the collection.
def remove_at(self, index):
...
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index of the element to remove. |
Remarks
- To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.
2) You can use also
ILayoutSlide.removemethod to simplify code.
Exceptions
| Exception | Description |
|---|---|
PptxEditException | Thrown if layout is used in presentation (its HasDependingSlides property is true). |
See Also
- class
IMasterLayoutSlideCollection - class
PptxEditException - module
aspose.slides - library
Aspose.Slides