LayoutSlideCollectionRemove Method |
Removes a layout from the collection.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic void Remove(
ILayoutSlide value
)
Public Sub Remove (
value As ILayoutSlide
)
public:
virtual void Remove(
ILayoutSlide^ value
) sealed
abstract Remove :
value : ILayoutSlide -> unit
override Remove :
value : ILayoutSlide -> unit
Parameters
- value
- Type: Aspose.SlidesILayoutSlide
The layout slide to remove from the collection.
Implements
ILayoutSlideCollectionRemove(ILayoutSlide)
ExceptionsException | Condition |
---|
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