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.
GetSlideComments(ICommentAuthor)Returns all slide comments added by specific author.
GetThumbnail()Returns a Thumbnail Image object (20% of real size).
GetThumbnail(IRenderingOptions)Returns a Thumbnail Bitmap object.
GetThumbnail(ITiffOptions)Returns a Thumbnail tiff bitmap object with specified parameters.
GetThumbnail(Size)Returns a Thumbnail Bitmap object with specified size.
GetThumbnail(float, float)Returns a Thumbnail Bitmap object with custom scaling.
GetThumbnail(IRenderingOptions, Size)Returns a Thumbnail Bitmap object with specified size.
GetThumbnail(IRenderingOptions, float, float)Returns a Thumbnail Bitmap object with custom scaling.
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.
RenderToGraphics(IRenderingOptions, Graphics)Renders certain slide to a Graphics object.
RenderToGraphics(IRenderingOptions, Graphics, Size)Renders certain slide to a Graphics object using specified size.
RenderToGraphics(IRenderingOptions, Graphics, float, float)Renders certain slide to a Graphics object with custom scaling.
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