public interface ILayoutSlideCollection extends IGenericCollection<ILayoutSlide>
Represents a base class for collection of a layout slides.
Modifier and Type | Method and Description |
---|---|
ILayoutSlide |
get_Item(int index)
Returns the layout slide by index.
|
ILayoutSlide |
getByType(byte type)
Returns the first layout slide of specified type.
|
void |
remove(ILayoutSlide value)
Removes a layout from the collection.
|
void |
removeUnused()
Removes unused layout slides (layout slides whose HasDependingSlides is false).
|
iterator
ILayoutSlide get_Item(int index)
Returns the layout slide by index.
Read-only ILayoutSlide
.
ILayoutSlide getByType(byte type)
Returns the first layout slide of specified type.
type
- A type of layout slide to find.ILayoutSlide
with specified type or null if no layouts found.void remove(ILayoutSlide value)
Removes a layout from the collection.
value
- The layout slide to remove from the collection.
ILayoutSlide.remove()
method to simplify code.
PptxEditException
- Thrown if layout is used in presentation (its HasDependingSlides property is true).void removeUnused()
Removes unused layout slides (layout slides whose HasDependingSlides is false).