GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    MasterSlide Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a master slide - a root element in the hierarchy of a slide template chain.

    • C#
    • VB.NET
    public sealed class MasterSlide : AnimatableSlide
    Public NotInheritable Class MasterSlide
        Inherits AnimatableSlide
    Inheritance:
    System.Object
    SlideObject
    AnimatableSlide
    MasterSlide

    Properties

    HeaderFooter

    Gets the header and footer.

    • C#
    • VB.NET
    public HeaderFooter HeaderFooter { get; }
    Public ReadOnly Property HeaderFooter As HeaderFooter
    Property Value
    HeaderFooter

    The header and footer.

    LayoutSlides

    Gets the layout slides associated with this master slide.

    • C#
    • VB.NET
    public LayoutSlideCollection LayoutSlides { get; }
    Public ReadOnly Property LayoutSlides As LayoutSlideCollection
    Property Value
    LayoutSlideCollection

    The layout slides associated with this master slide.

    Name

    Gets or sets the name of the MasterSlide.

    • C#
    • VB.NET
    public string Name { get; set; }
    Public Property Name As String
    Property Value
    System.String

    The name of the MasterSlide.

    Exceptions
    System.ArgumentException

    value is null, System.String.Empty or MasterSlide with the same name already exists in the collection.

    Methods

    ToString()

    Returns a System.String that represents this MasterSlide instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this MasterSlide instance.

    Overrides
    SlideObject.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    Inherited Properties

    Background

    Gets or sets the slide background.

    (Inherited from SlideObject)

    Content

    Gets the slide's content in a form of a root GroupShape that groups all the Drawings contained on this slide.

    (Inherited from SlideObject)

    ParentTemplate

    Gets the parent template SlideObject or null if this SlideObject is master slide.

    (Inherited from SlideObject)

    Presentation

    Gets the presentation to which this slide belongs.

    (Inherited from SlideObject)

    ShowMasterShapes

    Gets or sets a value indicating whether the shapes from the ParentTemplate should be shown on this slide.

    Default value is true.

    (Inherited from SlideObject)

    SlideId

    Returns a unique ID number for the specified slide.

    (Inherited from AnimatableSlide)

    TextContent

    Gets the text content of the current SlideObject.

    (Inherited from SlideObject)

    Transition

    Gets the kind of slide transition that should be used to transition to the current slide from the previous slide.

    (Inherited from AnimatableSlide)

    Examples

    Slides Example
    Header and Footer Example

    See Also

    MasterSlides
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.