remove

remove(LayoutSlide value) function

Removes a layout from the collection.

Parameters

NameTypeDescription
valueLayoutSlideThe layout slide to remove from the collection. 1) To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before. 2) You can use also ILayoutSlide#remove function to simplify code.

Error

ErrorCondition
PptxEditExceptionThrown if layout is used in presentation (its HasDependingSlides property is true).