MasterSlide

MasterSlide class

Represents a master slide in a presentation.

public class MasterSlide : BaseSlide, IMasterSlide

Properties

Name Description
Background { get; } Returns slide’s background. Read-only IBackground.
BodyStyle { get; } Returns the style of a body text. Read-only ITextStyle.
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 master slide. Read-only Boolean.
HeaderFooterManager { get; } Returns HeaderFooter manager of the master slide. Read-only IMasterSlideHeaderFooterManager.
HyperlinkQueries { get; } Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.
LayoutSlides { get; } Returns the collection of child layout slides for this master slide. Read-only IMasterLayoutSlideCollection.
override Name { get; set; } Returns or sets the name of a master slide. Read/write String.
OtherStyle { get; } Returns the style of an other text. Read-only ITextStyle.
Presentation { get; } Returns IPresentation interface. Read-only IPresentation.
Preserve { get; set; } Determines whether the corresponding master is deleted when all the slides that follow that master are deleted. Note: Aspose.Slides will never remove any unused master by itself, to actually remove unused masters call RemoveUnused Read/write Boolean.
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. For master slide itself this property always returns false. 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 theme manager. Read-only IMasterThemeManager.
Timeline { get; } Returns animation timeline object. Read-only IAnimationTimeLine.
TitleStyle { get; } Returns the style of a title text. Read-only ITextStyle.

Methods

Name Description
ApplyExternalThemeToDependingSlides(string) Creates a new master slide based on the current one, applying an external theme to it and applies the created master slide to all dependent slides.
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 master 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.

See Also