Slide

Slide class

Represents a slide in a presentation.

public sealed class Slide : BaseSlide, ISlide

Properties

NameDescription
Background { get; }Returns slide’s background. Read-only IBackground.
Controls { get; }Returns the collection of ActiveX controls on a slide. Read-only IControlCollection.
CustomData { get; }Returns the slide’s custom data. Read-only ICustomData.
HeaderFooterManager { get; }Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager.
Hidden { get; set; }Determines whether the specified slide is hidden during a slide show. Read/write Boolean.
HyperlinkQueries { get; }Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.
LayoutSlide { get; set; }Returns or sets the layout slide for the current slide. Read/write ILayoutSlide.
virtual Name { get; set; }Returns or sets the name of a slide. Read/write String.
NotesSlideManager { get; }Allow to access notes slide, add and remove it. Read-only INotesSlideManager.
Presentation { get; }Returns IPresentation interface. Read-only IPresentation.
Shapes { get; }Returns the shapes of a slide. Read-only IShapeCollection.
override ShowMasterShapes { get; set; }Specifies if shapes on the master slide should be shown on slides or not. Read/write Boolean.
SlideId { get; }Returns the ID of a slide. Read-only UInt32.
SlideNumber { get; set; }Returns a number of slide. Index of slide in Slides collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read/write Int32.
virtual SlideShowTransition { get; }Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition.
ThemeManager { get; }Returns the overriding theme manager. Read-only IOverrideThemeManager.
Timeline { get; }Returns animation timeline object. Read-only IAnimationTimeLine.

Methods

NameDescription
CreateThemeEffective()Returns an effective theme for this slide.
Equals(IBaseSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.
FindShapeByAltText(string)Finds first occurrence of a shape with the specified alternative text.
GetImage()Returns a Thumbnail Image object (20% of real size).
GetImage(IRenderingOptions)Returns a Thumbnail Image object.
GetImage(ITiffOptions)Returns a Thumbnail tiff image object with specified parameters.
GetImage(Size)Returns a Thumbnail Image object with specified size.
GetImage(float, float)Returns a Thumbnail Image object with custom scaling.
GetImage(IRenderingOptions, Size)Returns a Thumbnail Image object with specified size.
GetImage(IRenderingOptions, float, float)Returns a Thumbnail Image object with custom scaling.
GetSlideComments(ICommentAuthor)Returns all slide comments added by specific author.
override JoinPortionsWithSameFormatting()Joins runs with same formatting in all paragraphs in all acceptable shapes.
virtual JoinPortionsWithSameFormatting(IShapeCollection)Joins runs with same formatting in all paragraphs in all acceptable shapes.
Remove()Removes slide from presentation.
Reset()Resets position, size and formatting of every shape that has a prototype on LayoutSlide.
WriteAsSvg(Stream)Saves content of slide as SVG file.
WriteAsSvg(Stream, ISVGOptions)Saves content of slide as SVG file.

See Also