Remove()

LayoutSlideCollection::Remove(System::SharedPtr<ILayoutSlide>) method

Removes a layout from the collection.

void Aspose::Slides::LayoutSlideCollection::Remove(System::SharedPtr<ILayoutSlide> value) override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<ILayoutSlide>The layout slide to remove from the collection.

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.

See Also