Remove()
ILayoutSlideCollection::Remove(System::SharedPtr<ILayoutSlide>) method
Removes a layout from the collection.
virtual void Aspose::Slides::ILayoutSlideCollection::Remove(System::SharedPtr<ILayoutSlide> value)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| value | System::SharedPtr<ILayoutSlide> | The layout slide to remove from the collection. |
Exceptions
| Exception | Description |
|---|---|
| Aspose::Slides::PptxEditException | Thrown if layout is used in presentation (its HasDependingSlides property is true). |
Remarks
- 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
- Typedef SharedPtr
- Class ILayoutSlide
- Class ILayoutSlideCollection
- Namespace Aspose::Slides
- Library Aspose.Slides