remove

remove() method

Removes layout from presentation.

Returns

void

Exception

ExceptionCondition
PptxEditExceptionThrown if layout is already removed from presentation or if layout is used in presentation (its HasDependingSlides property is true). To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.