Remove

ILayoutSlide.Remove method

Removes layout from presentation.

public void Remove()

Exceptions

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

Remarks

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

See Also