remove method

remove

Removes layout from presentation.

def remove(self):
    ...

Remarks

To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.

Exceptions

ExceptionDescription
PptxEditExceptionThrown if layout is already removed from presentation or if layout is used in presentation (its
HasDependingSlides property is true).

See Also