SlideRange Members (PowerPoint)

A collection that represents a notes page or a slide range, which is a set of slides that can contain as little as a single slide or as much as all the slides in a presentation.

Methods

Name

Description

ApplyTemplate

Applies a design template to the specified slide range.

ApplyTheme

Applies a theme or design template to the specified range of slides.

ApplyThemeColorScheme

Applies a color scheme to the specified range of slides.

Copy

Copies the specified object to the Clipboard.

Cut

Deletes the specified object and places it on the Clipboard.

Delete

Deletes the specified SlideRange object.

Duplicate

Creates a duplicate of the specified SlideRange object, adds the new range of slides to the Slides collection immediately after the slide range specified originally, and then returns a SlideRange object that represents the duplicate slides.

Export

Exports a range of slides, using the specified graphics filter, and saves the exported file under the specified file name.

Item

Returns a single Slide object from the specified SlideRange collection.

MoveTo

Moves the specified object to a specific location within the same collection, renumbering all other items in the collection appropriately.

MoveToSectionStart

Moves the current position to the start of the specified section in the SlideRange object.

PublishSlides

Creates a Web presentation (in HTML format) from any loaded presentation. You can view the published presentation in a Web browser.

Select

Selects the specified object.

Properties

Name

Description

Application

Returns an Application object that represents the creator of the specified object.

Background

Returns a ShapeRange object that represents the slide background.

BackgroundStyle

Sets or returns the background style of the specified object. Read/write.

ColorScheme

Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.

Comments

Returns a Comments object that represents a collection of comments. Read-only.

Count

Returns the number of objects in the specified collection. Read-only.

CustomerData

Returns a CustomerData object. Read-only.

CustomLayout

Returns a CustomLayout object that represents the custom layout associated with the specified range of slides. Read-only.

Design

Returns a Design object representing a design.

DisplayMasterShapes

Determines whether the specified range of slides displays the background objects on the slide master. Read/write.

FollowMasterBackground

Determines whether the range of slides follows the slide master background. Read/write.

HasNotesPage

Indicates whether the selected SlideRange has media that resides on a notes page. Read-only.

HeadersFooters

Returns a HeadersFooters collection that represents the header, footer, date and time, and slide number associated with the slide, slide master, or range of slides. Read-only.

Hyperlinks

Returns a Hyperlinks collection that represents all the hyperlinks on the specified slide. Read-only.

Layout

Returns or sets a PpSlideLayout constant that represents the slide layout. Read/write.

Master

Returns a Master object that represents the slide master. Read-only.

Name

When a slide is inserted into a presentation, Microsoft PowerPoint automatically assigns it a name in the form Sliden, where n is an integer that represents the order in which the slide was created in the presentation. For example, the first slide inserted into a presentation is automatically named Slide1. If you copy a slide from one presentation to another, the slide loses the name it had in the first presentation and is automatically assigned a new name in the second presentation. A slide range must contain exactly one slide. Read/write.

NotesPage

Returns a SlideRange object that represents the notes pages for the specified slide or range of slides. Read-only.

Parent

Returns the parent object for the specified object.

PrintSteps

Returns the number of slides you'd need to print to simulate the builds on the specified slide, slide master, or range of slides. Read-only.

sectionIndex

Returns the index of the selected section in the SlideRange. Read-only.

Shapes

Returns a Shapes collection that represents all the elements that have been placed or inserted on the specified slide, slide master, or range of slides. Read-only.

SlideID

Returns a unique ID number for the specified slide. Read-only.

SlideIndex

Returns the index number of the specified slide within the Slides collection. Read-only.

SlideNumber

Returns the slide number. Read-only.

SlideShowTransition

Returns a SlideShowTransition object that represents the special effects for the specified slide transition. Read-only.

Tags

Returns a Tags object that represents the tags for the specified object. Read-only.

ThemeColorScheme

Returns a ThemeColorScheme object that represents the color scheme associated with the specified range of slides. Read-only.

TimeLine

Returns a TimeLine object that represents the animation timeline for the slide. Read-only.