IMasterLayoutSlideCollectionRemoveAt Method

Removes the element at the specified index of the collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.12.0.0 (21.12)
Syntax
void RemoveAt(
	int index
)

Parameters

index
Type: SystemInt32
The zero-based index of the element to remove.
Exceptions
ExceptionCondition
PptxEditException Thrown if layout is used in presentation (its HasDependingSlides property is true).
Remarks
1) To avoid throwing of the PptxEditException check layout's HasDependingSlides property before. 2) You can use also Remove method to simplify code.
See Also