API Reference

Class

PowerPointMedia

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint

Represents an embedded audio or video media frame on a slide.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public Byte[] GetData() #
Returns: Byte[]

Returns the exact embedded audio or video payload.

public PowerPointMediaPlaybackOptions GetPlaybackOptions() #
Returns: PowerPointMediaPlaybackOptions

Reads typed playback metadata from the native timing and media nodes.

public PowerPointMedia SetPlaybackOptions(PowerPointMediaPlaybackOptions options) #
Returns: PowerPointMedia

Updates native playback, trim, and fade metadata in place.

Parameters

options OfficeIMO.PowerPoint.PowerPointMediaPlaybackOptions requiredposition: 0
public Void UpdateData(Stream media) #
Returns: Void

Replaces the embedded audio or video payload.

Parameters

media System.IO.Stream requiredposition: 0

Properties

public PowerPointMediaKind Kind { get; } #

Gets the media kind represented by this shape.

public String MediaContentType { get; } #

Gets the MIME content type of the embedded media part.

public String MediaReferenceId { get; } #

Gets the relationship id used by the audio/video file reference.

public String PlaybackReferenceId { get; } #

Gets the p14 media relationship id used by PowerPoint playback metadata.

public PowerPointMediaSourceKind SourceKind { get; } #

Gets whether the payload is embedded, linked, or broken.

public Uri LinkUri { get; } #

Gets the external media URI when linked.