RemoveAt

MasterSlideCollection.RemoveAt method

Removes the element at the specified index of the collection.

public void RemoveAt(int index)
ParameterTypeDescription
indexInt32The zero-based index of the element to remove.

Exceptions

exceptioncondition
PptxEditExceptionThrown if the master to remove is used in presentation (its HasDependingSlides property is true).

Remarks

To avoid throwing of the PptxEditException check master’s HasDependingSlides property before.

See Also