Remove()

ILayoutSlide::Remove() method

Removes layout from presentation.

virtual void Aspose::Slides::ILayoutSlide::Remove()=0

Exceptions

ExceptionDescription
Aspose::Slides::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