Remove()

LayoutSlide::Remove() method

Removes layout from presentation.

void Aspose::Slides::LayoutSlide::Remove() override

Exceptions

ExceptionDescription
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