LayoutSlide

LayoutSlide class

Represents a layout slide.

public sealed class LayoutSlide : BaseSlide, ILayoutSlide

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.
HasDependingSlides { get; }Returns true if there exists at least one slide that depends on this layout slide. Read-only Boolean.
HeaderFooterManager { get; }Returns HeaderFooter manager of the layout slide. Read-only ILayoutSlideHeaderFooterManager.
HyperlinkQueries { get; }Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.
LayoutType { get; }Returns layout type of this layout slide. Read-only SlideLayoutType.
MasterSlide { get; set; }Returns or sets the master slide for a layout. Read/write IMasterSlide.
virtual Name { get; set; }Returns or sets the name of a slide. Read/write String.
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.
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.
GetDependingSlides()Returns an array with all slides, which depend on this layout slide.
virtual JoinPortionsWithSameFormatting()Joins runs with same formatting in all paragraphs all acceptable shapes.
virtual JoinPortionsWithSameFormatting(IShapeCollection)Joins runs with same formatting in all paragraphs in all acceptable shapes.
Remove()Removes layout from presentation.

See Also