Class MediaObject
Represents media information associated with a shape.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class MediaObject
Properties
Bookmarks
Gets the collection of named bookmarks for this media object.
Use Add(string, int) to add
a bookmark with a name and time offset. Maps to p:bookmark.
Declaration
public MediaBookmarkCollection Bookmarks { get; }
Property Value
| Type | Description |
|---|---|
| MediaBookmarkCollection |
CdEnd
Gets the legacy CD playback end index, when available.
Declaration
public uint? CdEnd { get; }
Property Value
| Type | Description |
|---|---|
| uint? |
CdStart
Gets the legacy CD playback start index, when available.
Declaration
public uint? CdStart { get; }
Property Value
| Type | Description |
|---|---|
| uint? |
EmbeddedSoundBytes
Gets the embedded sound bytes, when the sound is embedded.
Declaration
public byte[] EmbeddedSoundBytes { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
EmbeddedSoundCacheFileName
Gets the cache file name used for embedded sound data.
Declaration
public string EmbeddedSoundCacheFileName { get; }
Property Value
| Type | Description |
|---|---|
| string |
EmbeddedSoundExtension
Gets or sets the file extension of the embedded sound.
Declaration
public string EmbeddedSoundExtension { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmbeddedSoundName
Gets or sets the name of the embedded sound.
Declaration
public string EmbeddedSoundName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Fade
Gets the fade segment that defines fade-in and fade-out durations.
StartMilliseconds is the fade-in duration;
EndMilliseconds is the fade-out duration.
Maps to p:fade.
Declaration
public MediaSegment Fade { get; }
Property Value
| Type | Description |
|---|---|
| MediaSegment |
Kind
Gets or sets the media kind recorded in the source presentation.
Declaration
public string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LinkPath
Gets or sets the path of linked media content.
Declaration
public string LinkPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Loop
Gets or sets whether playback repeats after reaching the end.
Declaration
public bool Loop { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Narration
Gets or sets whether the media is marked as narration.
Declaration
public bool Narration { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ObjectId
Gets the identifier of the media object, when one is available.
Declaration
public uint? ObjectId { get; }
Property Value
| Type | Description |
|---|---|
| uint? |
Rewind
Gets or sets whether playback rewinds when it finishes.
Declaration
public bool Rewind { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SoundIdRef
Gets the referenced sound identifier, when available.
Declaration
public uint? SoundIdRef { get; }
Property Value
| Type | Description |
|---|---|
| uint? |
SoundLengthMs
Gets the sound duration in milliseconds, when available.
Declaration
public int? SoundLengthMs { get; }
Property Value
| Type | Description |
|---|---|
| int? |
Trim
Gets the trim segment that defines the playback window.
StartMilliseconds is the trim-from-start
offset; EndMilliseconds is the
trim-from-end offset. Maps to p:trim.
Declaration
public MediaSegment Trim { get; }
Property Value
| Type | Description |
|---|---|
| MediaSegment |