remove_at method

remove_at

Removes the element at the specified index of the collection.

def remove_at(self, index):
    ...
ParameterTypeDescription
indexintThe zero-based index of the element to remove.

Remarks

  1. To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before. 2) You can use also ILayoutSlide.remove method to simplify code.

Exceptions

ExceptionDescription
PptxEditExceptionThrown if layout is used in presentation (its HasDependingSlides property is true).

See Also