SlideCollection class

SlideCollection class

Represents a collection of a slides.

The SlideCollection type exposes the following members:

Gets the element at the specified index. Read-only Slide.

Indexer

NameDescription
[index]

Methods

MethodDescription
add_cloneAdds a copy of a specified slide to the end of the collection.
add_cloneAdds a copy of a specified slide to the end of the specified section.
add_cloneAdds a copy of a specified slide to the end of the collection.
add_cloneAdds a copy of a specified source slide to the end of the collection.
Appropriate layout will be selected automatically from the specified
master (appropriate layout is the layout with the same Type or Name as
of layout of the source slide). If there is no appropriate layout then
layout of the source slide will be cloned (if allowCloneMissingLayout
is true) or PptxEditException will be thrown (if allowCloneMissingLayout
is false).
insert_cloneInserts a copy of a specified slide to specified position of the collection.
insert_cloneInserts a copy of a specified slide to specified position of the collection.
insert_cloneInserts a copy of a specified source slide to specified position of the collection.
Appropriate layout will be selected automatically from the specified
master (appropriate layout is the layout with the same Type or Name as
of layout of the source slide). If there is no appropriate layout then
layout of the source slide will be cloned (if allowCloneMissingLayout
is true) or PptxEditException will be thrown (if allowCloneMissingLayout
is false).
to_arrayCreates and returns an array with all slides in it.
to_arrayCreates and returns an array with all slides from the specified range in it.
An index of a first slide to add.A number of slides to add.
reorderMoves slide from the collection to the specified position.
reorderMoves slides from the collection to the specified position.
Slides will be placed starting from index in order they appear in list.
add_from_pdfCreates slides from the PDF document and adds them to the end of the collection.
add_from_pdfCreates slides from the PDF document and adds them to the end of the collection considering the pdf import options.
add_from_pdfCreates slides from the PDF document and adds them to the end of the collection.
add_from_pdfCreates slides from the PDF document and adds them to the end of the collection.
add_from_htmlCreates slides from HTML text and adds them to the end of the collection.
add_from_htmlCreates slides from HTML text and adds them to the end of the collection.
add_from_htmlCreates slides from HTML text and adds them to the end of the collection.
add_from_htmlCreates slides from HTML text and adds them to the end of the collection.
insert_from_htmlCreates slides from HTML text and inserts them to the collection at the specified position.
insert_from_htmlCreates slides from HTML text and inserts them to the collection at the specified position.
insert_from_htmlCreates slides from HTML text and inserts them to the collection at the specified position.
insert_from_htmlCreates slides from HTML text and inserts them to the collection at the specified position.
add_empty_slideAdds a new empty slide to the end of the collection.
insert_empty_slideInserts a copy of a specified slide to specified position of the collection.
removeRemoves the first occurrence of a specific object from the collection.
remove_atRemoves the element at the specified index of the collection.
index_ofReturns an index of the specified slide in the collection.

See Also