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

    Show / Hide Table of Contents

    Slide Class

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

    Represents a presentation slide.

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

    Properties

    Comments

    Gets the comments contained on this slide.

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

    The comments contained on this slide.

    Notes

    Gets or sets the notes for this slide.

    This value can be set only to null. Setting this value to null will remove notes from the slide.

    • C#
    • VB.NET
    public NotesSlide Notes { get; set; }
    Public Property Notes As NotesSlide
    Property Value
    NotesSlide

    The notes for this slide.

    Remarks

    Use AddNotes() method to add notes to the slide.

    Exceptions
    ArgumentException

    Argument is not null.

    ParentTemplate

    Gets the parent template LayoutSlide.

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

    The parent template LayoutSlide.

    Visible

    Gets or sets a value indicating whether this slide is visible during a slide show.

    Default value is true.

    • C#
    • VB.NET
    public bool Visible { get; set; }
    Public Property Visible As Boolean
    Property Value
    Boolean

    false if this slide is hidden; otherwise, true.

    Methods

    AddNotes()

    Adds the notes slide to the current slide.

    If the current slide already has notes, then the existing notes are returned.

    • C#
    • VB.NET
    public NotesSlide AddNotes()
    Public Function AddNotes As NotesSlide
    Returns
    NotesSlide

    Existing or newly added notes associated with the current slide.

    Reset()

    Resets all placeholders on the current Slide so they are the same as on the ParentTemplate LayoutSlide.

    • C#
    • VB.NET
    public void Reset()
    Public Sub Reset

    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)

    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)

    Inherited Methods

    ToString()

    Returns a String that represents this SlideObject instance.

    (Inherited from SlideObject)

    Examples

    Slides Example
    Comments Example
    Slide Notes Example

    See Also

    Slides
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.