RemoveAt()

MasterSlideCollection::RemoveAt(int32_t) method

Removes the element at the specified index of the collection.

void Aspose::Slides::MasterSlideCollection::RemoveAt(int32_t index) override

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index of the element to remove.

Exceptions

ExceptionDescription
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