Remove

ILayoutSlide.Remove method

Removes layout from presentation.

public void Remove()

Exceptions

exception condition
PptxEditException Thrown 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