Compartir a través de


_Slide Members

Include Protected Members
Include Inherited Members

A primary interface in a COM coclass that managed code requires to interoperate with the corresponding COM object. Use this primary interface to disambiguate when a method and an event on the COM object share the same name. Cast to this interface to call the method; cast to the latest events interface to connect to the event. Otherwise, use the interface in the Microsoft® .NET Framework that is derived from the COM coclass to access methods, properties, and events of the COM object.

For information about the COM object, see Slide.

The _Slide 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 CustomerData Returns a CustomerData object. Read-only.
Public property CustomLayout Returns a CustomLayout object that represents the custom layout associated with the specified slide. Read-only.
Public property Design Returns a Design object representing a design.
Public property DisplayMasterShapes Determines whether the specified slide displays the background objects on the slide master. Read/write.
Public property FollowMasterBackground Determines whether the slide follows the slide master background. Read/write.
Public property HasNotesPage Indicates whether the selected Slide 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 Layout Returns or sets a PpSlideLayout constant 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 you'd need 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 Slide range. 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 slide. 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 ApplyTemplate Applies a design template to the specified slide.
Public method ApplyTheme Applies a theme or design template to the specified slide.
Public method ApplyThemeColorScheme Applies a color scheme to the specified slide.
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 Slide object.
Public method Duplicate Creates a duplicate of the specified Slide object, adds the new slide to the Slides collection immediately after the slide specified originally, and then returns a Slide object that represents the duplicate slide.
Public method Export Exports a slide, using the specified graphics filter, and saves the exported file under the specified file name.
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 slide to the start of the specified section.
Public method PublishSlides Publishes the specified slide to the specified location.
Public method Select Selects the specified object.

Top

See Also

Reference

_Slide Interface

Microsoft.Office.Interop.PowerPoint Namespace