Partager via


SlideRange Members

Include Protected Members
Include Inherited Members

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.

The SlideRange type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property Background Returns a ShapeRange object that represents the slide background.
Public property BackgroundStyle Sets or returns the background style of the specified object. Read/write.
Public property ColorScheme Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.
Public property Comments Returns a Comments object that represents a collection of comments. Read-only.
Public property Count Returns the number of objects in the specified collection. Read-only.
Public property CustomerData Returns a CustomerData object. Read-only.
Public property CustomLayout Returns a CustomLayout object that represents the custom layout associated with the specified range of slides. Read-only.
Public property Design Returns a Design object that represents a design.
Public property DisplayMasterShapes Determines whether the specified range of slides displays the background objects on the slide master. Read/write.
Public property FollowMasterBackground Determines whether the range of slides follows the slide master background. Read/write.
Public property HasNotesPage Indicates whether the selected SlideRange has media that resides on a notes page. Read-only.
Public property 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.
Public property Hyperlinks Returns a Hyperlinks collection that represents all the hyperlinks on the specified slide. Read-only.
Public property Item Returns a single Shape object from the specified ShapeRange collection.
Public property Layout Returns or sets a PpSlideLayoutconstant that represents the slide layout. Read/write.
Public property Master Returns a Master object that represents the slide master. Read-only.
Public property 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.
Public property NotesPage Returns a SlideRange object that represents the notes pages for the specified slide or range of slides. Read-only.
Public property Parent Returns the parent object for the specified object.
Public property PrintSteps Returns the number of slides that you have to print to simulate the builds on the specified slide, slide master, or range of slides. Read-only.
Public property Scripts Reserved for internal use.
Public property sectionIndex Returns the index of the selected section in the SlideRange. Read-only.
Public property SectionNumber Reserved for internal use.
Public property 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.
Public property SlideID Returns a unique ID number for the specified slide. Read-only.
Public property SlideIndex Returns the index number of the specified slide within the Slides collection. Read-only.
Public property SlideNumber Returns the slide number. Read-only.
Public property SlideShowTransition Returns a SlideShowTransition object that represents the special effects for the specified slide transition. Read-only.
Public property Tags Returns a Tags object that represents the tags for the specified object. Read-only.
Public property ThemeColorScheme Returns a ThemeColorScheme object that represents the color scheme associated with the specified range of slides. Read-only.
Public property TimeLine Returns a TimeLine object that represents the animation timeline for the slide. Read-only.

Top

Methods

  Name Description
Public method _Index Reserved for internal use.
Public method ApplyTemplate Applies a design template to the specified slide range.
Public method ApplyTheme Applies a theme or design template to the specified range of slides.
Public method ApplyThemeColorScheme Applies a color scheme to the specified range of slides.
Public method Copy Copies the specified object to the Clipboard.
Public method Cut Deletes the specified object and places it on the Clipboard.
Public method Delete Deletes the specified SlideRange object.
Public method 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.
Public method Export Exports a range of slides, using the specified graphics filter, and saves the exported file under the specified file name.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator() Returns an enumerator that iterates through the slides of a notes page or slide range collection.
Public method MoveTo Moves the specified object to a specific location within the same collection, renumbering all other items in the collection appropriately.
Public method MoveToSectionStart Moves the current position to the start of the specified section in the SlideRange object.
Public method PublishSlides Creates a Web presentation (in HTML format) from any loaded presentation. You can view the published presentation in a Web browser.
Public method Select Selects the specified object.

Top

See Also

Reference

SlideRange Interface

Microsoft.Office.Interop.PowerPoint Namespace