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

    Show / Hide Table of Contents

    MediaObject Class

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

    Represents a base type for all media (audio or video).

    • C#
    • VB.NET
    public abstract class MediaObject
    Public MustInherit Class MediaObject
    Inheritance:
    System.Object
    MediaObject
    Derived
    AudioCD
    MediaContent

    Properties

    Bookmarks

    Gets the collection of bookmarks on the media.

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

    The collection of bookmarks on the media.

    Fade

    Gets the starting and ending fade durations for the media.

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

    The starting and ending fade durations for the media.

    IsFile

    Gets a value indicating whether this media has an associated content that is either embedded in the presentation file or linked to (for example, a file outside the presentation file).

    • C#
    • VB.NET
    public abstract bool IsFile { get; }
    Public MustOverride ReadOnly Property IsFile As Boolean
    Property Value
    System.Boolean

    true if this media has an associated content that is either embedded in or linked to the presentation file; otherwise, false.

    MediaType

    Gets the type of the media.

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

    The type of the media.

    Picture

    Gets the Picture associated with this media.

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

    The Picture associated with this media.

    Trim

    Gets the amount of time to be trimmed from the start and end of the media during playback.

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

    The amount of time to be trimmed from the start and end of the media during playback.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.