remove method
remove
Removes layout from presentation.
def remove(self):
...
Remarks
To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.
Exceptions
Exception | Description |
---|---|
PptxEditException | Thrown if layout is already removed from presentation or if layout is used in presentation (its HasDependingSlides property is true). |
See Also
- class
LayoutSlide
- class
PptxEditException
- module
aspose.slides
- library
Aspose.Slides