Remove
LayoutSlideCollection.Remove method
Removes a layout from the collection.
public void Remove(ILayoutSlide value)
| Parameter | Type | Description |
|---|---|---|
| value | ILayoutSlide | The layout slide to remove from the collection. |
Exceptions
| exception | condition |
|---|---|
| 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
Removemethod to simplify code.
See Also
- interface ILayoutSlide
- class LayoutSlideCollection
- namespace Aspose.Slides
- assembly Aspose.Slides