remove method
remove
Removes a layout from the collection.
def remove(self, value):
...
Parameter | Type | Description |
---|---|---|
value | ILayoutSlide | The layout slide to remove from the collection. |
Remarks
- To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.
2) You can use also
ILayoutSlide.remove
method to simplify code.
Exceptions
Exception | Description |
---|---|
PptxEditException | Thrown if layout is used in presentation (its HasDependingSlides property is true). |
See Also
- class
ILayoutSlide
- class
MasterLayoutSlideCollection
- class
PptxEditException
- module
aspose.slides
- library
Aspose.Slides